A chess game implemented in Odin with a graphical interface using raylib.
This project requires Odin.
Clone the repo:
git clone https://github.com/pf981/odin-chess.git
cd odin-chessRun with Odin:
odin run . --debug| Action | Input |
|---|---|
| Drag piece | Mouse click + drag |
| Show attacked squares | F1 |
| Toggle debug info | F2 |
| Open console | ` (backtick) |
| Load FEN | In console: loadfen <FEN> |
| Reset game | In console: new |
| Change FPS | In console: fps <number> |
odin-chess/
โโโ assets/ # Textures & sound effects
โโโ main.odin # Game + UI loop
โโโ game.odin # Chess logic (moves, rules, FEN, history)
โโโ todo.md # Development notes
โโโ .gitignore