Skip to content

Add Copilot instructions and make game easier#6

Open
tallseth-tt wants to merge 2 commits intomasterfrom
difficulty-improvements
Open

Add Copilot instructions and make game easier#6
tallseth-tt wants to merge 2 commits intomasterfrom
difficulty-improvements

Conversation

@tallseth-tt
Copy link
Copy Markdown
Collaborator

Changes

Copilot Instructions

Added .github/copilot-instructions.md to help future AI assistants work effectively in this repository. Documents:

  • Build/test commands (including single test execution)
  • Situation Pattern architecture (state machine via chain-of-responsibility)
  • GameTools dependency injection approach
  • Testing conventions with MockGameTools and test helpers
  • Internal visibility convention

Game Difficulty Improvements

Made the game significantly easier while maintaining challenge:

Combat Rebalancing:

  • Enemy HP reduced by 20% (3-15 → 3-12 HP)
  • Enemy damage reduced by 1 point (1-8 → 1-7 damage)
  • Player hit chance improved from 1d20 to 1d15 (~33% better)
  • Blindness penalty reduced from +3 to +2
  • Weapon breakage chance reduced from 1/8 to 1/12

Healing Improvements:

  • Monster gold drops increased by 500 GP (now 501-1500 GP per victory)
  • Added 2 new beneficial pool outcomes:
    • Refreshing pool: boosts STR + INT by 1d3
    • Blessed pool: boosts all stats by 1d3+2
  • Pools now have 25% chance to heal vs 75% mixed good/bad effects

Testing

✅ All 141 tests passing - no regressions

- Document build/test commands including single test execution
- Explain Situation Pattern (state machine architecture)
- Document GameTools dependency injection approach
- Describe testing conventions with MockGameTools and helpers
- Note internal visibility convention throughout codebase
- Include implementation status and reference to Spec.md
Combat changes:
- Reduce enemy HP by 20% (formula: (combatNumber + 2) * 0.8)
- Reduce enemy damage by 1 point, minimum 1 (formula: max(1, combatNumber / 2))
- Improve player hit chance from 1d20 to 1d15 (~33% better odds)
- Reduce blindness penalty from +3 to +2
- Reduce weapon breakage chance from 1/8 to 1/12

Healing improvements:
- Increase monster gold drops by 500 GP (now 501-1500 GP per monster)
- Add two new beneficial pool outcomes:
  - Refreshing pool: increases STR + INT by 1d3
  - Blessed pool: increases all stats by 1d3+2
- Pools now have 6 mixed outcomes + 2 healing outcomes (25% healing chance)

Test changes:
- Update LootCollectorTests to expect new gold amounts
- Update PoolTests to match 1d8 roll instead of 1d6

All 141 tests passing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant