Skip to content

Concepts

Start with the pieces on the table, where they go, who can move them, and what makes a move legal. Write that logic independently of how a player sees the game or decides what to do.

Concept Question answered
Tokens How do I represent cards, counters, and pieces?
Stacks How do I model a deck or pile? What if a shoe or draw pool combines several stacks?
Spaces Where do pieces go on the board or table?
Actions How does a move change the game?
Agents and policies Who proposes a move, and how can the Engine react?
Rules Where do I check legal moves and trigger follow-up effects?

For the underlying state and how it is saved or shared, see game state (Automerge) under Advanced: state, sync & multiplayer.