Refer to the documentation with each class or module for details.
- Card
- A card can have/produce (inner) fire and/or spirits as a resource.
- A card can cost (inner) fire and/or spirits to bring into play.
- A card can have 0-n skills.
- FightCard: A card that is used in a fight. It is derived from a Card and will be
thrown away after the fight, without affecting the original Card. Most of the fight
logic is implemented in FightCard, mainly in its
attack
,prepare
, andtake_damage
methods. - Card Blueprints: Used to instantiate concrete cards from.
- Deck: A set of cards.
- Collection: All the cards the human player owns. These are not blueprints, all changes to cards in the collection are permanent. The main deck will be a subset of the collection, put together at the start of a run.
- Main deck: The cards the human player actually plays a run with.
- Fight decks: During a fight, the human player has 4 decks: the hand, the draw deck, the hamster deck, and the discard pile (used deck).
- Skill: A special ability of a card. Can be positive or negative or in-between.
- Run: A run is a single game.
- A run starts with a starting deck that is determined according to a certain mechanism, see below.
- Runs are fully predetermined based on some seed.
- Runs are indefinite. A player gets as far as she gets.
- A run represents the entire map and keeps track of the current location and the path taken so far.
- Map: The visualization of a run. The map shows all the locations and paths in a run.
- Location: A location on the map that can be visited.
- Path: The path from one location to another.
- Rung: A location's distance from the start location. The start location has rung 0.
- Fight: A location type and the main interaction of the game.
- Hamster Card: A special card that can be used to bring other cards into play. Hamster cards are not part of the main deck, but are part of the hamster deck.
- Hamster Deck: A special deck that only contains hamster cards. Will be generated at the start and scrapped at the end of a fight.
- Grid: Where cards are placed during a fight. No grid outside of fights.
- Gems: Are created when the human player inflicts surplus damage on the computer player. Can be used in certain situations and locations.
- Agent: The human player or computer player.
- Opponent: In a fight, the opposing card to a card.
- Damage: The damage an agent has suffered. An agent loses 1 life when the damage reaches a certain threshold.
- Lives: An agent has a certain amount of lives. When all lives are lost, the agent is defeated (the run ends, if it is the human player).
- Computer Strategy: The strategy the computer player uses in a fight.
- Item: Some buff that can be used in a fight. (Currently not implemented.)
- Potency: Cards and skills have potency scores that indicate how strong they are. The potency is used to determine the cost of a card/skill in the shop or at the start of a run, the probability of a card/skill to be drawn in a lottery, and the difficulty/value of a card/skill in a fight.
- Blueprints are unique.
- Cards are not unique, e.g., there can be several identical "Weasel" cards in a player's deck.
- FightCards are not unique either. Also, there can be just 1 "Church Mouse" (with fertility skill) in a player's deck but several identical "Church Mouse" FightCards during a fight.
- Blueprint [0-1] <-> [0-n] Card.
- Not all blueprints must be instantiated as cards, obviously.
- Not all cards are derived from blueprints, e.g., when two cards get merged in a location.
- Card [1] <-> [1-n] FightCard. -- During a fight and for all cards in the human's deck.
- Blueprints must never be modified, they are immutable. Blueprints should only get modified outside the game by developers of the game.
- Cards can be modified, e.g., in locations such as the upgrade locations. Modifications on cards are permanent.
- FightCards are modified during a fight, e.g., when they take damage. Those modifications are only effective for the current fight.
There are the following broad "buckets" of cards:
- Blueprints: All that conceptually exist. New cards (e.g., via lottery or similar) will typically be selected from this bucket.
- Collection: The ones the player owns.
- Main deck: The ones a player actually starts a run with.
- (The ones in different decks during a fight. -- The FightCards.)
- I start the run with: ["Church Mouse", "Weasel", "Lynx", "Porcupine"]
- I visit a location that gives me a new card: Bison/3/5/TRAMPLE
- I visit a location and boost my Porcupine to Porcupine/1/8/AIRDEFENSE
- I visit a location and lose my Weasel.
- I have a fight, which doesn't change my cards.
- I lose the fight, the run ends.
- Now, I have the following cards: ["Church Mouse", "Lynx", "Porcupine*", "Bison"]
- I can start the next run with a subset of these.