Back to Project List

PyChess

A UCI compatible Python Chess Engine from scratch.

Repository Video ▶️

PyChess

Zero seconds worth of thought went into naming this. Clearly!

Introduction

Yet Another Chess Engine

Live at chess.adityahase.com

This is a failed attempt at writing a Pure Python UCI Chess Engine from scratch.

A Screenshot

Interesting Parts

  • Bitboards and some bit-twidling magic to represent and manipulate the game board in board.py.
  • The wonderful web interface built by Saqib Ansari.

Requirements

  • Python 3+

Python libraries used

  • Flask
  • Click
  • Python-Chess

UI Libraries

  • Chessboard.js
  • Chess.js
Aditya Hase
Saqib Ansari

Are you tired of losing to computers at chess?

Here, you shouldn't lose.

No, I mean seriously, don't lose. http://chess.adityahase.com

If you don't wanna win!

September 13, 2020

Repository https://github.com/adityahase/chess

September 13, 2020
  • Can now talk to a UCI frontend like XBoard, without crashing.

  • Ability to parse and generate FEN strings from the board positions, so we can start doing "real" work now.

  • A few tests, so we can maintain some sanity.

September 12, 2020

Project created by Aditya Hase

September 12, 2020