This project was created for no specific reason. This simple game is based on the idea behind the game called "Would you rather" but it's reversed.
Before playing audience have to answer previously created form with questions. Two actual players have to guess the percentage of people who chose a specific answer. The thing that makes this game more interesting is the fact that players are connected to a small tens unit. The player that is further away from the right answers ratio is getting tazed.
- Install MongoDB
- Create a collection and edit a path to it.
- Use question model structure to enter questions and answers.
- Install Arduino code.
- Run project using node.
Parts for the project:
- any cheap tens unit e.g.
- Arduino
- raspberry pi (required for mobile version)
- wires
- 2 potentiometers
In this project, I used a relay with only two inputs. Here you can see how to connect cables from original tens unit to the relay.
In the second photo you can see endings of blue and white cables. These are the parts that are connected to players
Go to the games directory open console and use node server.js to start the game. If you prepare everything the right way you will be greeted with a server address(127.0.0.1:3000). Copy it and paste it into a web browser. You should see the menu and when you hit play, the game begins. The last thing to do is have fun.