Skip to content

PaulJeFi/reglisse-chess

Repository files navigation

Réglisse

Réglisse is a chess engine written from scratch in Python and JavaScript.
Réglisse uses mailbox and the idea behind it was simplicity and not playing strenght. I hope the code will be clear and well commented for those who want to understand how a chess engine works.

It currently has the following features :

Why Réglisse ?

As for Ramsès-Chess, I took a cat name. Réglisse is one of my friend's cat.

Special Thanks

Take a look at the thanks file to see people who made this project possible.

LICENSE

See the license file to know more about legal stuffs.

How to use

Réglisse supports some basics commands of the UCI interface. Few more commands exist :

  • move [move] : make the move (in UCI format) on the board
  • undo : undo the last move
  • go move : make the engine search and play its move on the board
  • go perft [X] : perft depth X debugging function
  • d : displays the board, the FEN and the hash key of the current position
  • eval : displays the static evaluation of the current position (do not displays mate, mate scores are handled in search)

You can run Réglisse in your favorite UCI GUI or in the terminal with this script. You may have to authorize access to this script first ($ chmod +x [path to scipt] on MacOS and Linux). You need node to run Réglisse locally. You may have to modify /usr/local/bin/node on the script to the path to node on your system.

You can also play against Réglisse on its Lichess account. If it is not online, you can put it online with you Google account by running this notebook (select the code cell and hit SHIFT + ENTER) or this script.

UCI Options

To see all availables UCI options, look at this file.

About

A simple chess engine in Python & JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published