WouldTheyRather

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.

Game basics

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.

How to use this project

Software part
  1. Install MongoDB
  2. Create a collection and edit a path to it.
  3. Use question model structure to enter questions and answers.
  4. Install Arduino code.
  5. Run project using node.
Hardware

Parts for the project:

  • any cheap tens unit e.g.
  • Arduino
  • raspberry pi (required for mobile version)
  • wires
  • 2 potentiometers image

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.

image In the second photo you can see endings of blue and white cables. These are the parts that are connected to players image

Gameplay

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.

Example gameplay image img2