LII design connection
Culture and games
A move belongs to a specific game state. “Place an X in this square.”
Read the transcript
Imagine teaching a child tic-tac-toe. They say, put my X in the middle. If the middle is taken, understanding the sentence still leaves you with an illegal move.
A game state is a snapshot of the board and whose turn it is. The reference entry describes the facts a rule needs to check.
LII is a planned operating system. A supported action needs the same three things: a request, the situation now, and a rule that says whether it can proceed.
Place an X in this square. The meaning of the move depends on the rules, the current board, and whose turn it is. The game-rule reference has a board field with nine cell values, a proposed cell, and the next player. These make the state and the proposed move explicit. For LII, structured rules give a supported operation something precise to check. This record describes the inputs a rule needs to evaluate a move.