Some games are timeless. Tic Tac Toe is certainly one. Three in a row games have been traced back as far as 1300 BC in ancient Egypt. So when we built the IR Hacks device with its 4x4 button grid, adding a tic tac toe game project seemed obvious. Our version is a two player game, featuring these two guys: Kissy face 😚, and Grimace 😬. Kissy uses the heart symbol, and Grimace chose the poop symbol. Ready to play? Find an opponent and let’s go!
Uploading the Project
If you haven't already uploaded the Tic Tac Toe code to your device, there are two ways to do it:
-
Use amomii Link. amomii Link is our proprietary tool for uploading code directly from our website.
a. Go to IR Hacks Link and choose your project. Today we’re picking Tic Tac Toe.
b. Read about the amomii Link tool.
-
Manual Installation: Go to the Toolbox, download the code and upload it to your device using the Arduino IDE (if you don't know what that means, use option one!)
a. Go to Toolbox.
How to play
For this game, only buttons 1-9 will be used. They are mapped to correspond to the 3x3 grid you see on the screen. The object of the game is of course to get three of your symbols in a row while preventing your opponent from doing the same. Kissy 😚 will go first. Simply press the button that matches with the spot on the grid you want to fill. Once done, you’ll see Kissy 😚 change to Grimace 😬 and it’s time for player 2 to choose a spot on the grid. Keep going back and forth until you have a winner, or a tie game. To play another game, simply press any of the buttons 1-9 to reset the board.


