website/content/lab-notes/Chess.md
2025-07-20 23:23:39 -04:00

18 lines
312 B
Markdown
Executable file

---
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?