Home / Companies / Google Cloud / Blog / Post Details
Content Deep Dive

A classic boardwalk game rolls from your phone to your computer—using only your browser

Blog post from Google Cloud

Post Details
Company
Date Published
Author
-
Word Count
351
Language
English
Hacker News Points
-
Summary

Roll It is a Chrome Experiment designed to transform the classic boardwalk game into a digital experience by linking phones and computers through a web browser, requiring no dedicated hardware. The game uses the phone's accelerometer via browser events like DeviceOrientation and DeviceMotion to detect swings, while the computer renders the scene using Three.js and integrates physics with Physijs, creating a 3D experience. WebSockets facilitate rapid two-way communication between devices, with Google Cloud Platform supporting the backend infrastructure to ensure smooth gameplay. The project involved collaboration with Legwork Studio for interface and environment design, Mode Set for development, and featured a theme composed by Tim Healey, with further insights available through an HTML5 Rocks Case Study and a Google Developers Live event.