Mathematical
• Gallery •
This project appeared in the Prototyping for Play video course published through O'Reilly Media, as part of segment 6 titled:
Let's Burn the Keyboard!
This project is to serve as a fun example for creating a custom hardware game without code, using free software everyone already has, and a HID (human interface device) emulator. The gameplay is focused on the physical interaction and engaging multiple players.
Software: Calculator
Players: 2 Versus
Technical: A box is used as a base to install thirteen buttons in total. Ten arcade buttons, two extra large buttons, and one momentary switch to be held for either large button to work. The ten buttons all have either a number or mathematical symbol assigned to them, while the large buttons have the 'clear equation' or 'result' commands.
Rules: The two players decide which of them is playing for even or odd, and is attempting to force the equation input to result in such a fashion. Fractions are not allowed. Each player must be careful when then hold the middle switch, as the other playing may hit clear to reset the value!
Optional Extra: Use the built in OSX calculator and turn on it’s Speech options. For a normal round, have Speak Button Pressed and Speak Result active. For harder difficulty, just have Speak Result on!
Tools
- Hobby Knife
- Scissors
- A Pen
- (Optional) Wire Terminal Crimper
- (Optional) Crimping Tool
Supplies
- Duct Tape
- Medium Cardboard Box
- 22 AWG Strand Wire
Parts
- EZ-Key
- Momentary Button
- Large Arcade Button x 2
- Heavy Duty Arcade Button x 10
- 9V Battery Connector
- 9V Battery
- Breadboard
- .110" Terminal Connectors
- Male Crimp Pins
- Crimp Connector Housing
EZ-Key Setup
- Download and install the software Processing 3.
- Open Processing, open the Tools menu, and select Install "processing-java". Follow the instructions.
- Close processing.
- Download the [EZ-Key Mathematical Remap]( {{ site.url }}/assets/files/p/pfp/ezkey_mathematical_remap.zip) processing project zip file, and uncompress it. You must leave the resulting folder named as it is.
- Follow the EZ-Key powering instructions at this link.
- Follow the EZ-Key pairing instructions at this link and connect to your computer. (Click here for additional help with pairing if you are using Windows)
- Open the EZ-Key_mathematical_remap folder you uncompressed, and double-click to open the EZ-Key_mathematical_remap.pde file. Processing should open with the project displayed.
- Make sure your EZ-Key is connected to your computer (powered and paired), and hit the circled triangle, or open the Sketch menu and select Run.
- The new key inputs are now saved to your EZ-Key!
Note: If you are having connection issues with your EZ-Key and using batteries, make sure your power source is fresh!