Skip to content

Chess Engine developed in C using X11 for GUI.

Notifications You must be signed in to change notification settings

parekh0711/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess

Chess developed in C using X11 for GUI. Includes single player and two player modes Representation of board is done using integer two dimensional array. main.c contains all functions for validating moves and detecting checks/checkmate and draws. The algorithm is based on Minimax. It thinks 5 moves ahead from any given position and evaluates every possible legal move.

Compilation Instructions

For dependencies:

sudo apt-get update 
sudo apt-get install lesstif2-dev OR sudo apt-get install libmotif-dev

For compiling:

gcc engine.h engine.c main.c -lX11
./a.out

The program then accepts input for choice of mode and color.

About

Chess Engine developed in C using X11 for GUI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages