Skip to content

Instantly share code, notes, and snippets.

View zurgeg's full-sized avatar
🐍
I may be slow to respond.

zurgeg

🐍
I may be slow to respond.
View GitHub Profile
@zurgeg
zurgeg / simp_chess.py
Last active April 12, 2019 23:21 — forked from rsheldiii/chess.py
chess program for python
"""CONVENTIONS:
positions are done row-column from the bottom left and are both numbers. This corresponds to the alpha-number system in traditional chess while being computationally useful. they are specified as tuples
"""
import itertools
import pickle
WHITE = "white"
BLACK = "black"