Makey Makey Tic Tac Toe
by anthonyku305 in Circuits > Electronics
783 Views, 3 Favorites, 0 Comments
Makey Makey Tic Tac Toe
I made a tic tac toe game because tic tac toe is a simple, popular, and fun game that anyone can play. Anyone would find this game fun and a good quick game to pull out and play whenever a bunch of friends are over. The purpose of the game I made is so that there would always be another easy and fun option when another game is not working out.
Supplies
STEPS AND SUB-STEPS
- Building the project
- Cut rectangle in cardboard and poke holes accordingly
- Place fasteners into holes poked
- (OPTIONAL) tape fasteners under holes to secure place
- Construct walls along sides to make rectangular box
- Label one side button “X” and “O”
- Programming Scratch
- Make tic tac toe backdrop
- Make white (preferably black to see better) boxes in each box in tic tac toe board made
- Make cursor sprite
- Make cursor move certain amount of steps up, down, left, and right when corresponding arrow keys pressed
- Make “if” statement stating if the “cursor” sprite is touching the specific box put in each tic tac toe area and “space” (could be anything) is pressed, a message is broadcasted to the box sprite the “cursor” is touching, telling it to switch to costume “x”. Make the same thing right under that but switch the messages, key pressed, and to costume “o”
- Repeat this for every box in the tic tac toe made
- Change all boxes to background color (white) so it looks like there are no boxes there (only if boxes were changed to black)
- Attaching Makey Makey to Project
- Attach Makey Makey to computer
- Get 6 alligator clips for controller
- Connect each alligator clip on Makey Makey arrow keys to corresponding arrow key (buttons) on controller
FINAL PROJECT
You should be holding the controller in your hands. Start off by pressing the green flag to start. Use the up, down, left, and right buttons to move the cursor around to know where to place the x’s and the o’s. Use the side buttons to place either x or o in the position the cursor is at. After one turn, hand the second player the controller and have them place their x or o. Make sure to have each player stay to one side button, for example if player 1 is using x, they should be using that side button so they don’t place an o on accident. Play until someone wins.