redshoga / quarto

Quarto (board game) implemented in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quarto with Python

python Quatro.py

What's Quarto

https://en.wikipedia.org/wiki/Quarto

Piece

Each bit represents the shape of a piece.

  • 3th bit: Black(1) or White(0)
  • 2th bit: Hole(1) or No-hole(0)
  • 1th bit: Round shape(1) or Square shape(0)
  • 0th bit: High(1) or Low(0)
example: 
piece 10 = 1010 = (Black + No-hole + Round + Low) piece

About

Quarto (board game) implemented in Python

License:MIT License


Languages

Language:Python 100.0%