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.
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 ..
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.
After compilation, you can run the engine with:
./pawnstar.out
- Beat stockfish
Stay tuned for updates!