Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vzhou842/example-.io-game
An example multiplayer (.io) web game.
https://github.com/vzhou842/example-.io-game
example-project game html5-game io-game nodejs socket-io
Last synced: 3 days ago
JSON representation
An example multiplayer (.io) web game.
- Host: GitHub
- URL: https://github.com/vzhou842/example-.io-game
- Owner: vzhou842
- License: mit
- Created: 2019-03-11T20:48:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T19:14:50.000Z (about 1 year ago)
- Last Synced: 2025-01-11T04:09:16.432Z (10 days ago)
- Topics: example-project, game, html5-game, io-game, nodejs, socket-io
- Language: JavaScript
- Homepage: https://example-io-game.victorzhou.com/
- Size: 957 KB
- Stars: 446
- Watchers: 15
- Forks: 176
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An Example .io Game
https://example-io-game.victorzhou.comAn example multiplayer (.io) web game. Read the walkthrough: [**How to Build a Multiplayer (.io) Web Game**](https://victorzhou.com/blog/build-an-io-game-part-1/).
Built with [Node.js](https://nodejs.org/), [socket.io](https://socket.io/), and [HTML5 Canvas](https://www.w3schools.com/html/html5_canvas.asp).
To see this code with [Flow](https://flow.org/) typing, visit the [flow branch](https://github.com/vzhou842/example-.io-game/tree/flow).
## Development
To get started, make sure you have Node and NPM installed. Then,
```bash
$ npm install
$ npm run develop
```on your local machine.
To run the project in a production setting, simply
```bash
$ npm install
$ npm run build
$ npm start
```## Tests
To run the tests for this this project, simply
```bash
$ npm install
$ npm test
```