Skip to content

Simon9991/chess-game-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chess

A chess graphical game with a basic engine, written in C++.

Setup

  • gcc, g++

At the moment, the graphical part of the project is broken. It will be re-written later as there are comptability issues between OSX and Linux distributions. The required setup will be updated when the graphical part will be up again.

How to run

Engine part

cd engine_src/ && make

then you can run the engine executable. It takes a FEN text file as an argument. If no file is passed, it will defaults to the basic chess starting position.

./engine path_to_fen

It will print the current position followed by the castling rights following this noting convention

K: king side, white
Q: queen side, white
k: king side, black
q: queen side, black

and then the player turn white or black. In the future, an evaluation of the position will be displayed followed by two moves suggested by the engine.

Graphical part

Do not run for now, broken

Credits

malomo42 for some SFML help.

About

A C++ Chess graphical game with a basic engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published