The working title of this game is Dragons and Direwolves and it simulates a battle in a card trading game.
My goal is to expand it with some RPG elements.
In folder "terminal" there is the working terminal version of the game.
-
Player is presented with the general game goal and possible card types.
-
Human player states their name (computer name is randomly selected).
-
Player states the number of cards for each type in the deck.
-
The number of cards in the deck must not be smaller than 20 and not greater than 25.
-
The selected cards are generated (also for the computer player).
-
Player rolls a dice to select an arena (specific arena grants chances for critical strikes to relevant beasts).
-
Player is presented with the generated deck and they are prompted for the card selection.
-
Players each play one card each turn until the health points of either one of them falls to 0. The Opponent status is randomized each turn.
-
Each card has an effect on the game state (players' hp, other cards, etc.)
-
The card played is removed from the sub-deck at the end of the turn.
-
If after 25 turns they both still live, the winner is the one with higher health points.
- Dragons
- Dire wolves
- Heal
- Ice
- Fire
- Review and refactor the HP and damage dealing system in terms of amount of points. []
- Turns are counted and this is used for damage over time and so forth. [done]
- A card may have instant, delayed or prolonged effect. []
- GUI [in progress]
- Add Ice and Fire spells. [done]
- Add story. []
- Add records of the games played. []
- Spelling check. []
- Add actual AI, influencing the deck selection and also selection of the cards played, depending on the opponent's health. []
Creative Commons - Attribution Share Alike
I would like to thank the ruby community for all the support and help with this project, especially to Jesús Gabriel y Galán, Jan Ewald and others on the Ruby forum.