Post

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 python programming language and for graphics it uses raylib.\
  • gui_version.py contains all the implementation of game

    Implementation structure

  • main: is main game loop
  • init_game: initialize an empty grid and set all variable to zero
  • get_moves: it accepts row and col of cell and grid to calculate the valid move for particular piece

Demo

Alt text Alt text
This post is licensed under CC BY 4.0 by the author.

Trending Tags