Wheele9 / sunfish

Sunfish: a Python Chess Engine in 111 lines of code

Home Page:https://chessprogramming.wikispaces.com/Sunfish

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sunfish

Sunfish is a simple, but strong chess engine, written in Python, mostly for teaching purposes. Without tables and its simple interface, it takes up just 111 lines of code!

Because Sunfish is small and strives to be simple, the code provides a great platform for experimenting. People have used it for testing parallel search algorithms, experimenting with evaluation functions, and developing deep learning chess programs. Fork it today and see what you can do!

For more details see the original project : https://github.com/thomasahle/sunfish

Screenshot

My move: g8f6

  8 ♖ ♘ ♗ ♕ ♔ ♗ · ♖
  7 ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
  6 · · · · · ♘ · ·
  5 · · · · · · · ·
  4 · · · · ♟ · · ·
  3 · · · · · · · ·
  2 ♟ ♟ ♟ ♟ · ♟ ♟ ♟
  1 ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
    a b c d e f g h


Your move:

My fork

My additional lines make the chessboard to redraw itself, you will always have only one board to see, not a lot in a big column.

About

Sunfish: a Python Chess Engine in 111 lines of code

https://chessprogramming.wikispaces.com/Sunfish

License:Other


Languages

Language:Python 94.6%Language:Roff 5.4%