MakeyMakey Hammer Jam
![1DCEA595-6121-4105-B900-6932D82054B6.jpeg](/proxy/?url=https://content.instructables.com/FMH/G8SE/KYR9XV1O/FMHG8SEKYR9XV1O.jpg&filename=1DCEA595-6121-4105-B900-6932D82054B6.jpeg)
Supplies:
![5412A4EF-CFF5-4E89-AE8C-C6AEFD928F84.jpeg](/proxy/?url=https://content.instructables.com/F80/Z1SS/KYR9XWDX/F80Z1SSKYR9XWDX.jpg&filename=5412A4EF-CFF5-4E89-AE8C-C6AEFD928F84.jpeg)
- Cardboard
- Aluminum foil (conductor)
- Paper (for color)
- Makey Makey
- Alligator Clips
- Hot Glue Gun (Any connecting material like tape)
Building the Project
![52B5D212-964B-4993-825B-1DEB33BC0C6D.jpeg](/proxy/?url=https://content.instructables.com/FA1/FVHG/KYR9XW6P/FA1FVHGKYR9XW6P.jpg&filename=52B5D212-964B-4993-825B-1DEB33BC0C6D.jpeg)
![CA812DAD-2864-48B2-9244-40CF788A6E4E.jpeg](/proxy/?url=https://content.instructables.com/F06/8DCZ/KYR9XW7Z/F068DCZKYR9XW7Z.jpg&filename=CA812DAD-2864-48B2-9244-40CF788A6E4E.jpeg)
![CDE422C6-54A6-42A6-8E83-6322B5877B06.jpeg](/proxy/?url=https://content.instructables.com/FGW/RR1W/KYR9XW8N/FGWRR1WKYR9XW8N.jpg&filename=CDE422C6-54A6-42A6-8E83-6322B5877B06.jpeg)
1. Take one big piece of cardboard and put your background paper color and glue it on top (This is the backboard for the project to sit on)
2. Take long and not too wide pieces of cardboard to roll into cyclical pipes
3. Once 4 cyclical pipes are cut out and glued together, glue it onto the backboard of the project so that the top part of the pipe is sticking up.
4. Then place aluminum foil in the top part of the pipe so that when someone slaps it, it can program the button to make the hammer in the game move.
5. Then cut out the holes in the back board below the hollow part of the pipes, this is where the alligator clips come to clip onto the aluminum foil and attach to the makey makey
6. Color the pipes with either glueing paper on it, or spray painting.
Programming Scratch
1. Create a sprite that represents a pipe and make four of them equally split through the screen
2. Add a hammer sprite and code it to move to a certain spot and rotate a certain distance and rotate back to its reset point
3. Add a mole/animal that will pop out of the pipe Code to randomly choose one pipe to come out of and have it glide up a distance and glide down a distance
4. You can also add a scoring system by the hammer touching the mole and add a certain amount of points
Attach Makey Makey
1. Clip the alligator clips to the buttons set on the scratch project (arrow keys)
2. Then make sure you have a place where the link to the makey makey is grounded
3. Connect the alligator clips to the pipes aluminum foil to create a place where electric input is gathered
Test/Troubleshoot
Make sure when you hit the pipe it triggers the hammer to move if not then troubleshoot the wires and make sure it's all connected
Final Project
The four buttons are the pipes that you click to move the hammer. The long foil is what you hold down to complete the circuit when you hit the pipes.