Code Monkey home page Code Monkey logo

flying-dutchman's Introduction

The Flying Dutchman Chess Engine

About

"The Flying Dutchman" is a Chess Engine written in Rust, designed with a focus on safety and readability above all else. This project was created as an homage to my time spent at Hofstra University. I developed this project as both an educational tool and a challenge to create a sophisticated chess bot based on fundamental computer science principles.

While there are many robust and powerful chess engines out there (like Stockfish), the primary goal of "The Flying Dutchman" is not to outperform these engines, but to serve as a resource for those interested in understanding the underlying workings of a chess engine. This project is essentially a fusion of my passion for programming and the strategic complexity of chess, despite me being admittedly not very good at the game.

The engine's evaluation function is simple: it calculates the sum of the pieces and the number of attacks. This simplicity is a deliberate design choice, keeping in line with the project's educational focus.

Project Structure

The project is organized as follows:

Evaluate

This directory contains the evaluation function for the chess engine. It's responsible for calculating the value of a given chess board configuration.

Search

The search directory contains the implementation of the Alpha-Beta Pruning and Quiescence Search algorithms, which are used to search through the game tree and find the best possible move.

Tests

Contains the module for testing the chess engine against itself.

Transposition

Here you can find the implementation of a transposition table, a common optimization technique used in chess engines to store board positions and avoid redundant computations.

UCI

UCI (Universal Chess Interface) is a standard protocol for chess engines to communicate with user interfaces. This directory contains the code for interpreting and responding to UCI commands.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

License

"The Flying Dutchman" is available under the MIT License. See LICENSE for more details.

flying-dutchman's People

Contributors

sam-belliveau avatar

Stargazers

Ciekce avatar

Watchers

James Cloos avatar  avatar

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.