๐Ÿ“ฆ tomcartwrightuk / p2p-snake

A node version of the peer-snake using socket.io-p2p

โ˜… 7 stars โ‘‚ 4 forks ๐Ÿ‘ 7 watching
๐Ÿ“ฅ Clone https://github.com/tomcartwrightuk/p2p-snake.git
HTTPS git clone https://github.com/tomcartwrightuk/p2p-snake.git
SSH git clone git@github.com:tomcartwrightuk/p2p-snake.git
CLI gh repo clone tomcartwrightuk/p2p-snake
Tom Cartwright Tom Cartwright Render status bar text based on width 347f003 10 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ lib
๐Ÿ“ public
๐Ÿ“„ .gitignore
๐Ÿ“„ newrelic.js
๐Ÿ“„ package.json
๐Ÿ“„ Procfile
๐Ÿ“„ README.md
๐Ÿ“„ server.js
๐Ÿ“„ README.md

Webrtc-powered Snake

This node app powers a one-on-one snake game that is played over a socket.io or socket.io-p2p connection.

To boot up, run:

node server.js

The javascript comes pre-compiled in the public folder but if you would like to play around with it run.

watchify lib/js/index.js -o public/bundle.js