Project Plateau
Project Plateau: four glass plates, one living valley, and the road back to camp.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A console-based Python implementation of Prismata Lite for testing game balance and mechanics.
Looking for the graphical interface? A full web-based version of the game with UI is available on the
Web-Portbranch. If you are viewing this on theWeb-Portbranch, simply navigate to theweb/directory to get started.
python run.py
The game is played through text commands. Type help in-game to see all available commands.
help - Show all available commandsstate - Display current game state (resources, units, base HP)end - End the current phase and progress to the nextquit - Exit the gameDuring your Action Phase, you can:
buy <unit> - Purchase a unit (e.g., buy miner or buy m)use <unit> [count|all] - Use a unit's ability (e.g., use m 3 or use m all)use <u1> on <u2> - Target another unit (e.g., use o 1 on m 1)attack <unit> <number>, ... - Prepare units to attackWhen your opponent attacks, you (the defender) can:
block <unit> [#] - Assign units to block (e.g., block guard 2)block end - Finish blocking (attacker assigns leftover damage)assign <target> <damage> - Manual damage assignment (if not auto-resolved)| Unit | Cost | Stats | Ability |
|---|---|---|---|
| Barrier | 1G | 0/2/1 | Fragile: destroyed after blocking |
| Miner | 2G | 0/1/1 | Mine: 1E → 1G |
| Energizer | 2G | 0/0/2 | Generate: Gain 1E |
| Striker | 3G | 2/0/1 | Atk Cost: 1E |
| Guard | 3G | 1/2/2 | Basic blocker |
| Repeater | 3G | 0/1/2 | Overcharge (1E): ready another unit |
| Wall | 3G | 0/2/2 | Enters ready; Repair (1E) to ready again |
| Volatile | 4G | 5/0/2 | Atk Cost: 1E; self-destructs when it attacks |
Stats format: ATK/BLK/HP
See docs/RULEBOOK.md for complete rules.
Build-Order/
├── src/
│ └── prismata/ # Core game logic
│ ├── agent.py # AI logic
│ ├── game_engine.py # Turn phases and combat
│ ├── game_state.py # State management
│ ├── main.py # CLI interface
│ └── units.py # Unit definitions
├── web/ # Web Interface
│ ├── index.html # Web Entry Point
│ ├── app.js # Web Logic
│ └── style.css # Web Styling
├── docs/ # Documentation
│ ├── RULEBOOK.md
│ └── PENDING_FIXES.md
├── tests/ # Test scripts and scenarios
├── run.py # Console game entry point
├── simulate_prismata.py # Simulation script for testing
├── index.html # Redirect to web version
└── .gitignore # Version control exclusion
The game includes several AI strategies to test against:
For game balance testing, you can run automated simulations between AI strategies:
python simulate_prismata.py
This will run 20 rapid simulations (Tactical AI vs others) and generate a simulation_log.txt with detailed battle metrics.
Developed for Advanced Agentic Coding - Google Deepmind