---
title: Plans for a chess/taikyoku shogi/what have you engine
date: 2025-02-18
---

# Game Loop

```py
while not game.is_over():
    game.display()
    game.get_player_input() # returns starting and ending position
    game.is_valid_move()
```

---

- `Game` struct contains game state
  - Refactor to trait?
