a python implementation of the board game reversi