The goal is to write a simple role playing game, using Ruby & object oriented programming.
Classes we will probably want:
- Game
- Party
- Hero
- Monster
- Weapon
- Shop
Things we will want:
- DRY DRY code
- Be mindful of coupling
- Methods which don't care which object they are being called on
The game should look like:
- Show user some potential party members
- Let the user pick 2 for their party
- Let the user choose to wander in the forest, or go to the shop
- Forest
- Random fight
- Go home or wander more?
- Shop
- Buy items & equip
- Fighting
- Each member of the party can target a monster
- They deal damage
- Once the party is done, each monster then attacks a random party member
- Loop until either the party or monsters are all dead
- Each party member that survives gets XP & Gold