-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Dynamic Move Function Implementation (#205)
* fix: resolve compilation errors * refactor: auto-detect player color from caller address * refactor: use active_colors for dynamic color handling in pos_reducer * refactor: remove players_length logic and set default tokens for all colors * refactor: use active_colors in move and capture logic * test: add test for extra move on dice 6 and winner-turn skip scenarios * refactor: format the code * refactor: pass game_id via parameter
- Loading branch information
1 parent
5ab6f80
commit 202c11e
Showing
4 changed files
with
374 additions
and
256 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.