Skip to content

Instantly share code, notes, and snippets.

View sathya26's full-sized avatar
🎯
Focusing

sathyakrishna palani sathya26

🎯
Focusing
  • HTC GLOBAL SERVICES
  • chennai
View GitHub Profile
@sathya26
sathya26 / chess.py
Created December 30, 2019 05:36 — 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"