Skip to content

IberaSoft/horse-racing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Multiplayer Horse Racing Game

Web and mobile app developed for WH's Hackathon 2017

Build Status Coverage Status License


Table of Contents

Description

This is an addictive multiplayer game developed for WH's Hackathon 2017 where the participants can play as jockeys or just bet for each of them using their SmartPhones.

Play now!

Go to this url and follow the instructions...

Race administrator

1- Enter the race duration (in milliseconds e.x.: 5000) and press `Create` button.
2- Once the players have entered their names, click on `Start Race` button...

Players

1- Scan the QR code provided with your mobile's camera and open the url provided. 
2- Enter your name and wait until the administrator start the race.
3- Once the race start, shake your mobile as much as you can in order to move your horse.
4- Enjoy!

Betting

- For betting, just scan the QR code provided before the race start and follow the instructions.

Installation

Prerequisites

  • NodeJS v6.0.0 or greater is installed, and node and npm are available on the PATH environment variable.
  • Git v2.6.4 or greater is installed, and is available on the PATH environment variable.
  • RethinkDB
  • Any SmartPhone with accelerometer and QR code scanner

Clone

  • Clone this repo to your local machine using https://github.com/IberaSoft/horce-racing.git

Setup

$ npm install
$ brew update && brew install rethinkdb

Open a console tab for racing-backend project

$ rethinkdb       // Start the DB

Open a new console tab for racing-frontend project

$ npm run reql    // Builds the DB
$ npm run start

Open a new console tab for racing-frontend project

$ sudo npm start --port:80

Team

License