All Projects → blaise-io → Xssnake

blaise-io / Xssnake

Licence: mit
Online multiplayer Snake where the winner of a game is allowed to execute Javascript in the browser of other players.

Programming Languages

javascript
184084 projects - #8 most used programming language

XSSnake

Online multiplayer Snake where the winner of a game is allowed to execute JavaScript in the browser of other players.

Build Status

XSSnake is currently in development. The beta release is planned around 2020.

XSSnake

Technical

XSSnake is written using HTML5 and JavaScript. It works in all browsers that support Canvas and Websocket. XSSnake uses Node.js and ws for the server and Google Closure Compiler to compile to minified and optimized code.

The font used in the game can be downloaded here.

Initial Setup

Production

XSSnake is not production-ready yet.

Developing and Testing

  • Run the game server: npm start
  • Access the game by opening client/debug.html in your browser

Running unit tests:

  • Client: grunt karma
  • Server: grunt server_test
  • Both: npm test or grunt test

If you add client JavaScript files, or add/modify levels or audio, you need to rebuild files by running grunt source.

Levels

Documented in shared/data/readme.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].