A card game engine for TCGs, primarily Magic: The Gathering but with support for others
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adding small readme with roadmap

+75
+75
README.md
··· 1 + # ManaGrove 2 + A card game engine for TCGs, primarily Magic: The Gathering but with support for others 3 + # Roadmap 4 + ## Milestone 1: Core Data Model (Engine Skeleton) 5 + * Represent a Game State clearly 6 + * Implement data structures like `GameState`, `Player`, `CardInstance`, `Zone`, etc 7 + ## Milestone 2: Turn Structure 8 + * Implement: 9 + * Turn order 10 + * Phases: 11 + * Beginning 12 + * Pre-combat Main 13 + * Combat 14 + * Post-combat Main 15 + * Ending 16 + ## Milestone 3: Base Actions 17 + * Implement: 18 + * Draw card 19 + * Play card (only at sorcery speed) 20 + * Basic creatures 21 + * Power/Toughness 22 + * Enter battlefield 23 + ## Milestone 4: Event System 24 + * Implement 25 + * Event Enum 26 + * `CardPlayed` 27 + * `CardEnteredZone` 28 + * `PhaseStart` 29 + * etc. 30 + * Event Dispatch System 31 + * Event Listeners 32 + ## Milestone 5: Triggered Abilities 33 + * Implement 34 + * Ability structure 35 + * Trigger (e.g. on enter battlefield, on attack, etc.) 36 + * Condition 37 + * Effect 38 + * Effect System 39 + * Draw 40 + * Damage 41 + * P/T Counters 42 + ## Milesotne 6: Combat System 43 + * Implement 44 + * Delcare attackers 45 + * Assign blockers 46 + * Damage resolution 47 + ## Milestone 7: The Stack/Priority 48 + * Implement 49 + * Stack (LIFO) 50 + * Stack Objects (Spells/abilities) 51 + * Priority passing between players 52 + * Resolution rules 53 + ## Milestone 8: Target System 54 + * Implement 55 + * Target types 56 + * Creature 57 + * Player 58 + * Permanent 59 + * etc. 60 + * Validation rules 61 + * Selection system 62 + ## Milestone 9: CLI-based Deck Tester 63 + * Implement 64 + * Load deck list 65 + * Draw opening hand 66 + * Step through turns 67 + * Turn step timestep, default 1 sec, can be set to None to just play through the entire game and show the winner 68 + * Print/export log of events 69 + * Simple AI (random legal moves) 70 + # Milestone 10: Expand Card System 71 + * Add more effects 72 + * Add more triggers 73 + * Add static abilities 74 + * Add continuous effects 75 + * Add other counters (e.g. time counters)