Skip to content

Add Checkers game mode with Stockchicken AI opponent#18

Open
iothingcloud wants to merge 1 commit into
joojoooo:mainfrom
iothingcloud:add-checkers-mode
Open

Add Checkers game mode with Stockchicken AI opponent#18
iothingcloud wants to merge 1 commit into
joojoooo:mainfrom
iothingcloud:add-checkers-mode

Conversation

@iothingcloud

Copy link
Copy Markdown

Adds a Checkers game mode to the board, playable either human-vs-human or human-vs-AI against a new opponent, humorously named Stockchicken.

  • checkers_engine - standard American checkers rules (mandatory captures, multi-jump continuation, kings)
  • checkers_ui - shared sensor/LED turn handling used by both checkers modes, including a physical "quit to menu" gesture (hold pieces on both light/unplayable corner squares), somewhat a gesture to resign and agree.
  • checkers_game - human vs human mode
  • checkers_bot_game + stockchicken - human vs AI mode; Stockchicken is an alpha-beta search with adjustable depth, selectable from the physical board the same way the existing chess bot's difficulty is chosen

If someone wants to keep the board UI clean (middle four squares) then an enable/disable function could be implemented in the web UI.

Adds a standard American checkers ruleset (checkers_engine), a shared
sensor/LED turn-handling layer (checkers_ui) used by both a human-vs-human
mode (checkers_game) and a human-vs-AI mode (checkers_bot_game), and
Stockchicken: an alpha-beta checkers engine with adjustable search depth
selectable from the physical board, mirroring the existing chess bot's
difficulty selection flow.

Both checkers modes also support a physical quit gesture (pieces held on
both light/unplayable corners) to back out to game selection mid-game.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant