Skip to content

Instantly share code, notes, and snippets.

View mynameisgump's full-sized avatar
💭
Gumping it Up

Ethan Crann mynameisgump

💭
Gumping it Up
View GitHub Profile
@mynameisgump
mynameisgump / chess.py
Created June 14, 2020 14:09 — 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
WHITE = "white"
BLACK = "black"