Makey Makey Tic Tac Toe

by anthonyku305 in Circuits > Electronics

772 Views, 3 Favorites, 0 Comments

Makey Makey Tic Tac Toe

IMG_5487.jpg

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

IMG_5483.jpg

Makey Makey Makey Makey Kit Link

Fasteners Fastener Link

Cardboard

Scissors

Tape


STEPS AND SUB-STEPS

box.PNG
Untitled.jpg
IMG_5485.jpg
IMG_5487.jpg
make.PNG
  1. Building the project
  2. Cut rectangle in cardboard and poke holes accordingly
  3. Place fasteners into holes poked
  4. (OPTIONAL) tape fasteners under holes to secure place
  5. Construct walls along sides to make rectangular box 
  6. Label one side button “X” and “O”
  7. Programming Scratch
  8. Make tic tac toe backdrop
  9. Make white (preferably black to see better) boxes in each box in tic tac toe board made
  10. Make cursor sprite
  11. Make cursor move certain amount of steps up, down, left, and right when corresponding arrow keys pressed
  12. 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” 
  13. Repeat this for every box in the tic tac toe made
  14. Change all boxes to background color (white) so it looks like there are no boxes there (only if boxes were changed to black)
  15. Attaching Makey Makey to Project
  16. Attach Makey Makey to computer
  17. Get 6 alligator clips for controller
  18. 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.