Giter VIP home page Giter VIP logo

pawndropper's Introduction

pawndropper

A humble chess engine with simple negamax and quiescence search with some search heuristics.

Installation

Simply clone the repository and build using Cargo.

Usage

Usage: pawndropper [OPTIONS]

Options:
  -c, --cpu-side <CPU_SIDE>  [default: black]
  -d, --depth <DEPTH>        [default: 6]
  -h, --help                 Print help
  -V, --version              Print version

By default, the engine will play as black and run with a search depth of 6. Moves are made through an interactive terminal user interface:

[2023-11-28T20:43:55Z INFO  pawndropper::move_bitboards] Initialising pseudo-legal moves and ray masks
[2023-11-28T20:43:55Z INFO  pawndropper::magic] Initialising pre-calculated magics and populating blocker move tables
8  ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
7  ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
6  . . . . . . . .
5  . . . . . . . .
4  . . . . . . . .
3  . . . . . . . .
2  ♟︎ ♟︎ ♟︎ ♟︎ ♟︎ ♟︎ ♟︎ ♟︎
1  ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜

   a b c d e f g h

[2023-11-28T20:43:55Z INFO  pawndropper] [White] Legal moves: [h3 h4 g3 g4 f3 f4 e3 e4 d3 d4 c3 c4 b3 b4 a3 a4 Nh3 Nf3 Nc3 Na3 ]
move 1> ...your move here

pawndropper's People

Contributors

soudy avatar

Watchers

 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.