Skip to content

A simple checkers game created using C++ and the SDL2's frameworks.

License

Notifications You must be signed in to change notification settings

vikrambombhi/Checkers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkers

Project is programmed by:

A simple checkers game created in C++ using SDL2's frameworks. That is planned to have a single player mode that challenges our AI checkers player and to have multiplayer mode so you can play with a friend beside you.

Current Features

  • Movable pieces, along with being able to kill an opponents piece
  • AI Player to play against
  • AI vs AI mode (Must keep moving mouse as game loop depends on mouse movement)
  • Scalability with code structure
  • Local Multiplayer
  • Menu

Missing Features

  • Different levels to the AI
  • Double moves made by AI
  • End game screen

Installation (Linux) Simplest

[1] Download the dependencies

sudo apt-get update
apt-cache search libsdl2
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-image-dev
sudo apt-get install libsdl2-ttf-dev

[2] Change directory to where you want the project to be

git clone https://github.com/VikramBombhi/Checkers.git
cd Checkers
make all
bin/Checkers

Installation (OS X & Windows)

  • Download the following libraries and extract them in the same directory (Make sure you codesign frameworks if on Mac -> refer to reference)
    • SDL2
    • SDL2_image
    • SDL2_tff
  • Clone the repo
  • Create project in IDE of choice
  • Add the files from the repo into the project
  • Add reference to libraries where you extracted them
  • Change the working directory of the project to the folder that contains the src, include and data folders
  • Run project!

Reference for help: http://lazyfoo.net/tutorials/SDL/01_hello_SDL/index.php

SDL2 Library: https://www.libsdl.org/download-2.0.php

SDL2 Image: https://www.libsdl.org/projects/SDL_image/

SDL2 TFF: https://www.libsdl.org/projects/SDL_ttf/

About

A simple checkers game created using C++ and the SDL2's frameworks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •