okiyama / Simple-Python-Chess

A simple python chess game with a seperate board representation/validation and a TkInter GUI. Updated for python 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating for Python 3 - Julian

Julian TODO:
Get board from gui_tkinter after a move is made
Get_single_move method in gui_tkinter
Flip board so black is on bottom
Big refactor: move from their internal chess representation to the standard python-chess representation


Simple Python Chess
-------------------
Author: Liudmil Mitev
E-Mail: liudmil.mitev@gmail.com
-------------------

A simple python chess implementation, a learning project.
Turns out that programming a chess game is no trivial task,
so I've tried to make it as modular and as easy to learn from as possible.

Contains:
    * dict-based board representation
    * move validation
    * Console-based Unicode GUI
    * TkInter GUI

Requirements:
    * Python 2.5+
    * TkInter
    * PIL

To install the dependancies on debian/ubuntu run:
    sudo apt-get install python-tk python-imaging python-imaging-tk

TODO:
    * En passant
    * Pawn promotion
    * Fifty-move rule
    * Tests
    * Scalable GUI window

About

A simple python chess game with a seperate board representation/validation and a TkInter GUI. Updated for python 3

License:Do What The F*ck You Want To Public License


Languages

Language:Python 100.0%