- Joined
- Jul 30, 2021
- Messages
- 20
- Likes
- 3
Materials needed for the experiment
Arduino UNO
STONE STWI070WT-01 display
How the system works
Set that the first press on the screen should be O, the second press on the screen should be X, do this cycle. Set 8 arrays to store the number of O and X in each row, column, and diagonal of each grid, as long as there are three identical characters in one row, column, or diagonal, it is a win, then there will be a flashing red square to prove the win of the row, column or diagonal, then press reset to restart the game again.
Arduino UNO
STONE STWI070WT-01 display
How the system works
Set that the first press on the screen should be O, the second press on the screen should be X, do this cycle. Set 8 arrays to store the number of O and X in each row, column, and diagonal of each grid, as long as there are three identical characters in one row, column, or diagonal, it is a win, then there will be a flashing red square to prove the win of the row, column or diagonal, then press reset to restart the game again.