|
bool | checkWinnerPlayer (uint8_t player) |
| Check whether palyer is winner.
|
|
void | drawWinnerPlayer (uint8_t player) |
| Draw winning line, column or diagonal.
|
|
uint8_t | checkWinner () |
| Check the winner.
|
|
void | drawMovePlayer (coordinates_s coordinates, uint8_t player) |
| Display the move of player.
|
|
void | moveMCU () |
| Let the MCU play.
|
|
bool | checkHuman (coordinates_s &coordinates) |
| Check human play.
|
|
void | printBoard () |
| Print board on serial.
|
|
void | playGame () |
| Play the game.
|
|
void | moveHuman () |
| Let the human play.
|
|
void | resetGame () |
| Reset the game.
|
|
void | drawStartScreen () |
| Draw start screen.
|
|
void | drawGameScreen () |
| Draw empty board.
|
|
void | drawGameOverScreen () |
| Draw end of game.
|
|
uint8_t | getBoard (coordinates_s coordinates) |
| Get board cell content.
|
|
bool | setBoard (coordinates_s coordinates, uint8_t player) |
| Set board cell content to player.
|
|
void | displayCenteredText (uint16_t x0, uint16_t y0, STRING_CONST_TYPE text, uint16_t colour) |
| Display text centered on coordinates.
|
|
void | setup () |
| Setup.
|
|
void | loop () |
| Loop, empty.
|
|
Example of features for basic edition.
Project Pervasive Displays Library Suite
Based on highView technology
- Author
- Rei Vilo
- Date
- 21 Jan 2025
- Version
- 902
- Copyright
- (c) Rei Vilo, 2010-2025
-
All rights reserved
-
For exclusive use with Pervasive Displays screens
- Basic edition: for hobbyists and for basic usage
Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
- Evaluation edition: for professionals or organisations, no commercial usage
All rights reserved
- Commercial edition: for professionals or organisations, commercial usage
All rights reserved