Git Product home page Git Product logo

en-passant's Introduction

en-passant

A chess bot framework using various search algorithms combined with modular heuristics.

en-passant's People

Contributors

cognalog avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

en-passant's Issues

Add support for bot vs bot games

  • allow user to specify for both players:
    • evaluator
    • search
    • turn color (mutually exclusive ofc)
  • maybe part of the binary for #29, or maybe not
  • stretch incorporate 50-move rule
    • otherwise end game after 100 turns

Add Scaladoc for existing code

Add class- and method- level scaladoc for the code so far (and start doing it henceforth so this bug doesn't return).

Create v0 general evaluator function

A general evaluator should compose other evaluators

Thoughts for low-level evaluators

  • scores of remaining pieces
  • pawns in the center
  • king protection (castled or able to castle)
  • developed (moved once) knight/bishop pieces

Create runnable binary for playing against the bot

  • Allow user to choose the search and utility modules used
  • Allow early termination via user input
  • Print out the board after each move
  • End when game is over
  • stretch accept standard move notation (e.g. O-O, Rxb2)

Add "king safety" to GeneralEvaluator

The bot doesn't abide by the maxim "Castle early, and castle often". Rather, it frequently makes normal king moves in the early game, surrendering the ability to castle in favor of developing pieces (see #41)

Implement castling

Rules:

  • king must not have moved
  • castling rook must not have moved
  • king can't be in check
  • nearest 2 spaces in castling rook's direction from king can't be controlled by opponent
  • other pieces can't be in the way

Reference: chess.com

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.