All Projects → GunshipPenguin → shallow-blue

GunshipPenguin / shallow-blue

Licence: MIT license
UCI Chess engine written in C++11

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to shallow-blue

chess22k
Chessengine written in Java
Stars: ✭ 26 (-52.73%)
Mutual labels:  chess-engine, bitboards
fastchess
Predicts the best chess move with 27.5% accuracy by a single matrix multiplication
Stars: ✭ 75 (+36.36%)
Mutual labels:  chess-engine
littlewing
Chess engine written in Rust ♛
Stars: ✭ 27 (-50.91%)
Mutual labels:  chess-engine
Tucano
Tucano Chess Engine
Stars: ✭ 17 (-69.09%)
Mutual labels:  chess-engine
stockfish-chess-web-gui
Responsive chess web GUI to play against the Stockfish 10 chess engine. Multiple web GUI implementations have also been included.
Stars: ✭ 21 (-61.82%)
Mutual labels:  chess-engine
Walleye
A chess engine written from scratch in Rust ♞
Stars: ✭ 82 (+49.09%)
Mutual labels:  chess-engine
Realtime-OpenCV-Chess
♔ Chess-playing with Open-CV [Human vs AI (Stockfish engine)]
Stars: ✭ 18 (-67.27%)
Mutual labels:  chess-engine
Demolito
UCI Chess Engine
Stars: ✭ 41 (-25.45%)
Mutual labels:  chess-engine
Zerofish
An implementation of the AlphaZero algorithm for chess
Stars: ✭ 34 (-38.18%)
Mutual labels:  chess-engine
zahak
A UCI compatible chess AI in Go
Stars: ✭ 20 (-63.64%)
Mutual labels:  chess-engine
berserk
UCI Chess Engine written in C
Stars: ✭ 57 (+3.64%)
Mutual labels:  chess-engine
liground
A free, open-source and modern Chess Variant Analysis GUI for the 21st century
Stars: ✭ 41 (-25.45%)
Mutual labels:  chess-engine
Sunfish
Sunfish: a Python Chess Engine in 111 lines of code
Stars: ✭ 2,254 (+3998.18%)
Mutual labels:  chess-engine
axle
Axle Domain Specific Language for Scientific Cloud Computing and Visualization
Stars: ✭ 65 (+18.18%)
Mutual labels:  game-theory
bot-o-tron
Try out lichess' bot interface
Stars: ✭ 36 (-34.55%)
Mutual labels:  chess-engine
magic-bits
A C++ header-only library for efficient move generation in Chess using "magic bitboards" technique
Stars: ✭ 26 (-52.73%)
Mutual labels:  chess-engine
Bit-Genie
UCI chess engine in C++
Stars: ✭ 19 (-65.45%)
Mutual labels:  chess-engine
mxfactorial
a payment application intended for deployment by the united states treasury
Stars: ✭ 36 (-34.55%)
Mutual labels:  game-theory
prometheus-spec
Censorship-resistant trustless protocols for smart contract, generic & high-load computing & machine learning on top of Bitcoin
Stars: ✭ 24 (-56.36%)
Mutual labels:  game-theory
datafsm
Machine Learning Finite State Machine Models from Data with Genetic Algorithms
Stars: ✭ 14 (-74.55%)
Mutual labels:  game-theory

Shallow Blue

(not Deep Blue)

A UCI chess engine written in C++11

Features

Building

To build on *nix:

make

You can build with debugging symbols and no optimizations using:

make debug

If you have Mingw-w64 installed, you can cross compile for Windows on Linux with:

./build_windows.sh

Tests

Catch unit tests are located in the test directory.

To build and run the unit tests, use:

make test
./shallowbluetest

To build and run the unit tests, skipping perft tests (these take a while to run), use:

make test
./shallowbluetest exclude:[perft]

Documentation

Shallow Blue's code is extensively documented with Doxygen.

To generate HTML documentation use:

doxygen

Opening Books

Shallow Blue supports PolyGlot formatted (.bin) opening books. To use an opening book, the OwnBook and BookPath UCI options must be set to true and the path to the opening book file respectively.

These options can be set from your chess GUI or the UCI interface as follows:

setoption name OwnBook value true
setoption name BookPath value /path/to/book.bin

Implemented non UCI Commands

These commands can be useful for debugging.

  • perft <depth>
    • Prints the perft value for each move on the current board to the specified depth
  • printboard
    • Pretty prints the current state of the game board
  • printmoves
    • Prints all legal moves for the currently active player

Future Improvements

  • Staged move generation
  • Null move pruning
  • Late move reductions

License

MIT © Rhys Rustad-Elliott

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].