Justinli
Member level 4
I think it's fun and not boring to get familiar with a new product by making games, and that's exactly why I did this project.
This project is to use Arduino UNO and Stone TFT LCD display to develop a simple tic-tac-toe game.
Materials required for the experiment
Arduino UNO
Stone STWI070WT-01 TFT LCD display
The system principle
Specify the first tap on the screen must be O, the second tap on the screen is X, has been doing 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 of the same mark is the victory, then there will be a flashing red box to prove the victory of the row, column or diagonal, and then tap reset to start the game again.
Simple connection diagram
GUI design
A demo video of the project will be attached here.
This project is to use Arduino UNO and Stone TFT LCD display to develop a simple tic-tac-toe game.
Materials required for the experiment
Arduino UNO
Stone STWI070WT-01 TFT LCD display
The system principle
Specify the first tap on the screen must be O, the second tap on the screen is X, has been doing 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 of the same mark is the victory, then there will be a flashing red box to prove the victory of the row, column or diagonal, and then tap reset to start the game again.
Simple connection diagram
--- Updated ---
GUI design
--- Updated ---
A demo video of the project will be attached here.
Last edited: