Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.04 KB

PawnStar Chess Engine

PawnStar is a chess engine written in C++ that originally aimed to implement board representation, move generation, and validation from scratch. However, to avoid reinventing the wheel, we now use the chess-library to handle board operations and move validation.

Setup

git clone https://github.com/Razamindset/pawnstar-chess-engine
cd pawnstar-chess-engine/

To use this project, clone the chess-library into an external/ directory within your project:

mkdir -p external
cd external
git clone https://github.com/Disservin/chess-library.git
cd ..

Compilation

To compile PawnStar using g++, on linux run the following command:

g++ -I external/chess-library/include ./src/main.cpp ./src/engine.cpp -o main.out

Replace src/main.cpp with the actual source file containing your main function.

Running the Engine

After compilation, you can run the engine with:

./pawnstar.out

Future Plans

  • Beat stockfish

Stay tuned for updates!