/demo-p5js

Demo of the p5.js library

Primary LanguageJavaScript

demo-p5js

Demo of the p5.js library

This demo implements the classic Snake game on the interactive system for CPSC 484/584 Intro. to HCI.

Specifically, the game itself is implemented with p5.js and the data are obtained via a WebSocket. Technical details for the interactive systems are available on the course website.

Quickstart

Clone this repository and open index.html in a web browser. Note that you must be connected to the Yale network.

The default host is cpsc484-01.yale.internal:8888, which you can modify in sketch.js