TriviaClash
A multi-player, multi-screen game that uses Socket.IO, Node.js, and the Open Trivia Database API
To Install
- Ensure Node.js is installed
- Clone this repository -
git clone git@github.com:hebd1/TriviaClash.git
- Install the dependences:
cd TriviaClash
npm install
- Start the server:
npm start
- Visit http://your.local.ip.address:8080 in a browser and click CREATE.
To Play
Setup
- Ensure 3 devices are on a local network, or that the application server is accessable by 3 devices.
- Start the TriviaClash application
- Visit http://your.ip.address:8080 on a PC, Tablet, SmartTV or other large screen device
- Click CREATE to initiate a new game session on the host device
- On a mobile device, visit http://your.ip.address:8080
- Click JOIN on the mobile device screen (the first player to join will start the game by pressing the 'start' button)
- Enter a name and the game room code displayed by the game host device, then press start
- Have your opponent repeat steps 5-7 on another mobile device.
Gameplay
- Games consist of four rounds, each centered on a different category.
- On the large screen (the game Host), player names will be displayed along with their corresponding scores.
- On each players' devices, a list of answer options will appear.
- players who select the correct answer get ten points each question. Incorrect answers get no points.
- The player with the most points at the end of 4 rounds wins!