Add Checkers game mode with Stockchicken AI opponent#18
Open
iothingcloud wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 modecheckers_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 chosenIf someone wants to keep the board UI clean (middle four squares) then an enable/disable function could be implemented in the web UI.