Io.horizon.tictactoe.aix
io.horizon.tictactoe.aix: An Explanatory Paper
Who might create this?
- newGame(config): Create a fresh game with optional parameters (board size, first player).
- getState(): Return an immutable snapshot of the current state (board, current player, history, outcome).
- legalMoves(state): Return list of valid moves for the given state.
- applyMove(state, move): Return a new state resulting from the move; throw on illegal moves.
- isTerminal(state): Boolean; and getOutcome(state): outcome enum.
- serialize(state) / deserialize(serialized): Deterministic encoding for storage and experiment repeatability.
- registerObserver(callback): Hook for UI or logging.
2.3 The Intelligence Layer: aix
The suffix aix is the critical component of this study. Standing for Artificial Intelligence Extension , it signifies an abstraction layer separating the game logic from the decision logic. This modularity allows the game engine to remain static while the AI "brain" can be swapped, upgraded, or complexity-adjusted without breaking the core application.