Chess board simulator program for the electronic chess board that I'm making hardware for
Go to file
2025-04-04 19:56:16 -04:00
docs Adding a readme 2025-04-04 19:56:16 -04:00
sprites Error detection, turn switching, pawn move suggestions and taking implemented 2020-12-01 20:48:09 -05:00
src fen_strings () 2024-10-04 21:42:35 -04:00
test fen_strings () 2024-10-04 21:42:35 -04:00
.drone.yml updating DRONE_TAG substring stripping 2024-10-05 17:44:56 -04:00
.gitignore Refactoring the Game State 2024-09-14 15:41:15 -04:00
CMakeLists.txt fen_strings () 2024-10-04 21:42:35 -04:00
Dockerfile fen_strings () 2024-10-04 21:42:35 -04:00
README.md Adding a readme 2025-04-04 19:56:16 -04:00

Chessboard Tester

Build Status

Background

During the Covid pandemic I started a project of building a custom 3d printed chess board. What make's this so special you may ask? This chess board has lights under each of the 64 locations and hall effect sensors to track when peices are picked up and put down. Then using the lights we could light up where peices can move to when they picked up as a way to help new chess players(like my nephew 😄).

To take a break from the mechanical board for a second I started working on the software needed, but wanted an easy way to prototype the software without having hardware yet. As such I used SDL to emulate what the game logic would look like.

The final intent is to pull out all of the emulation code and convert what remains into a library that both this emulator and chessboard firmware can use.

Todos

  • Game logic, including corner cases like casteling, and en passant.
  • Add fen strings to be able to read and set game state.
  • Lighting up possible moves and detecting errors(cheating)
  • Refactor into a library.
  • Animating the light up sequences
  • Integrate stockfish to be able to play against an AI. Or have the AI recommend movesl.

Building & Running

cmake -S ./ -B build/
cmake --build build/
./build/src/Chess

[Build Status]