This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These are the pins to connect to | |
#define PIN_SPI_SCK 18 | |
#define PIN_SPI_DIN 23 | |
#define PIN_SPI_CS 26 | |
#define PIN_SPI_BUSY 27//19 | |
#define PIN_SPI_RST 33//21 | |
#define PIN_SPI_DC 25//22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reversi is a board game for two players: the White and the Black players. | |
The board contains 8x8 squares, like a chess board. | |
The players place black or white pieces (the stones) onto | |
the board, one piece per square. | |
Whenever one or several white pieces are "sandwiched" between 2 black pieces, | |
they are "fliped": they change color from white to black, and vice-versa. | |
Sandwiching can happen vertically, horizontally of diagonally. |