Skip to content

tym-b/sled-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

117 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sled Run

The winner of Intense - Apptension internal hackathon.

About

Sled Run is a VR game designed for 2 players. It is controlled by a pair of sledge with a smartphone sticked to each. The virtual racetrack is displayed on a projector or any large screen. Smartphones send gyroscope signal through a socket server to the displaying client. The more you lean the more your santa turns.

Screen 1 Gameplay Screen 2 Welcome screen

Tech-stack

  • WebGL (three.js)
  • Cannon.js
  • React
  • WebSockets

Build & play

Production

Build yarn run build

Run yarn run production

Open localhost:8181/game to display racetrack. Open localhost:8181/sensor?player=red and localhost:8181/sensor?player=green on smartphones to run sensors.

Development

Run server yarn run server

Run client yarn start

Open localhost:3002/game to display racetrack. Open localhost:3002/sensor?player=red and localhost:3002/sensor?player=green on smartphones to run sensors.

About

WebGL racing game for Christmas hackathon 🎅

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors