Checker
Checker
Project Overview
The Checker game is a classic board game where two players take turns to move their pieces diagonally on an 8x8 board. The main features of my implementation include:
- User Interface: A simple, intuitive UI with a visually appealing board and pieces.
- Game Logic: Rules for valid moves, capturing opponent pieces, and kinging.
- Turn-Based Play: Alternating turns between two players.
- Winning Conditions: Detecting when a player wins the game.
How to run
1
$ ./build.sh
Implementation
- This project use
pythonprogramming language and for graphics it usesraylib.\ gui_version.pycontains all the implementation of gameImplementation structure
main: is main game loopinit_game: initialize an empty grid and set all variable to zeroget_moves: it accepts row and col of cell and grid to calculate the valid move for particular piece
Demo
This post is licensed under CC BY 4.0 by the author.