Code Monkey home page Code Monkey logo

blocky-chess-engine's Introduction

Blocky Chess Engine

Overview

Blocky is a UCI-compliant chess engine. It has implemented the following techniques below thus far:

  • Search:
    • Alpha-Beta Search
      • Aspiration Windows
      • Principle Variation Search
    • Quiescent Search
    • Null Move Pruning
    • Reverse Futility Pruning
    • Internal Iterative Reductions
    • Late Move Reductions
    • Late Move Pruning
    • Transposition Tables Cutoffs
  • Evaluation:
    • Piece-Square Tables
    • Tapered Evaluation
    • Pieces
      • Mobility (Bishop, Knight, Rook)
      • Bishop Pair
    • Pawns
      • Passed Pawns
      • Doubled Pawns
      • Chained Pawns
      • Phalanx Pawns
  • Move Ordering:
    • Transposition Table Moves
    • MVV-LVA
    • Killer Move Heuristic
    • Butterfly History Heuristic
    • Staged Move Generation
  • Other Techniques:
    • Magic Bitboards and Attack Tables
    • Zobrist-Hashing

Compiling Blocky

In order to get started running Blocky, first clone this repository. Then, use CMake to build this project. CMake projects like this one can be built like so:

cmake -S . -B build
cmake --build build

As part of the development process used for Blocky, Windows binaries may be compiled from WSL using the modified command below:

cmake -S . -B build -DMAKE_EXE=ON
cmake --build build

In both cases, the binary will be located within the build folder.

Acknowledgements

This engine would have not been possible alone. Some resources used included but were not limited to:

  • The Chess Programming Wiki for providing a foundation on how to get started
  • The chess engine community's collective knowledge
  • Reference engines such as Stockfish, Ethereal, Smallbrain, Stormphrax, and Alexandria
  • Gedas for his Texel-Tuner used in Blocky's evaluation

blocky-chess-engine's People

Contributors

knguy22 avatar aqiu04 avatar charlessu800 avatar

Watchers

Roelof Berkepeis avatar Protej avatar  avatar

blocky-chess-engine's Issues

Tuning question?

Hello! Looks like a nice engine. Can you provide some information and example commands on how your "extract" utility works? Thanks in advance! - Ken

Wrong version number

Hi Kevin,

The downloadable v2.0.0 displays v1.0 as its version.

Gabor Szots
CCRL testing group

Incorrect PERFT

The following position below fails perft for depth 3 in main. Stockfish counts 4680 nodes while Blocky counts 4742.

r2rk3/pp3p1p/2B4b/2Q5/1P1Nq3/P1B4b/2P2P1P/R2K3R b q - 0 1

Blocky participating in live broadcast - no way of contacting you

106TH AMATEUR SERIES (Division 10)

Waxman 2022
Shen Yu 2.0.1 64-bit
Queen 4.05 64-bit
Bienchen 1.0 64-bit
Eubos 3.3 64-bit
CeeChess 1.4 64-bit
Fatalii 0.6.0 64-bit
Cinnamon 2.5 64-bit
Motor 0.1.0 64-bit (new)
Austerlitz 1.4.7 64-bit (new)
Tcheran 2.1 64-bit (new)
Arcanum 1.12 64-bit (new)
chessplusplus 1.2.0 64-bit
Aurora 1.0.0 64-bit (new)
Simbelmyne 1.3.1 64-bit (new)
Maxwell 3.1.3 64-bit (new)
Blocky 1.0 64-bit (new)
Oxidation 0.6.0 64-bit (new)

Web based link for live viewing (courtesy of Jay - Berserk author).
https://ccrl.live/16069

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.