Giter Club home page Giter Club logo

darkfish's Introduction

Darkfish Chess Engine

Darkfish is a chess engine implemented in C++ using the UCI (Universal Chess Interface) protocol. It features a basic chess AI that can play chess moves based on simple evaluation and search algorithms.

Features

  • Implements the UCI protocol for communication with chess GUIs.
  • Supports parsing FEN (Forsyth–Edwards Notation) strings to set up the chess board.
  • Provides a basic evaluation function to assess the value of the chess position.
  • Implements a simple search algorithm to find the best move based on the current position.
  • Supports legal move generation for a given chess position.
  • Includes a command-line interface for testing and playing against the engine.

Dependencies

  • C++17 or later
  • Qt (version 5 or 6) for the GUI interface (optional)

Build Instructions

  1. Clone the Darkfish repository: git clone https://github.com/yourusername/darkfish.git
  2. Navigate to the project directory: cd darkfish
  3. Create a build directory: mkdir build && cd build
  4. Generate the build files with CMake: cmake ..
  5. Build the project: cmake --build .

Note: If you are using Qt for the GUI interface, make sure to install the Qt development libraries and set up CMake to find the Qt package.

Usage

  1. Run the Darkfish executable: ./darkfish
  2. If using a GUI, select the Darkfish engine in the settings or connect to it using the UCI protocol.
  3. If using the command-line interface, follow the prompts to set up the board, make moves, and play against the engine.

Contributing

Contributions to Darkfish are welcome! If you find any bugs, issues, or have suggestions for improvements, please submit them via GitHub issues or consider creating a pull request.

License

Darkfish is open-source software licensed under the MIT License. See the LICENSE file for more details.

darkfish's People

Contributors

fbcarpinato avatar

Watchers

 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.