https://github.com/geckosio/phaser3-multiplayer-game-example
Phaser 3 multiplayer game example using geckos.io
https://github.com/geckosio/phaser3-multiplayer-game-example
game html5 multiplayer node phaser3 webrtc
Last synced: 8 months ago
JSON representation
Phaser 3 multiplayer game example using geckos.io
- Host: GitHub
- URL: https://github.com/geckosio/phaser3-multiplayer-game-example
- Owner: geckosio
- License: mit
- Created: 2019-04-21T22:21:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-21T21:27:37.000Z (about 3 years ago)
- Last Synced: 2023-11-07T17:36:53.372Z (about 2 years ago)
- Topics: game, html5, multiplayer, node, phaser3, webrtc
- Language: JavaScript
- Homepage:
- Size: 2.6 MB
- Stars: 127
- Watchers: 7
- Forks: 31
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phaser 3 Multiplayer Game Example with geckos.io
## How To Start
To clone and run this game, you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. From your command line:
**Note:** Test it on Chrome. On some browsers like Firefox you need to add a STUN server to make it work.
```bash
# Clone this repository
$ npx gitget https://github.com/geckosio/phaser3-multiplayer-game-example phaser3-multiplayer-game
# Go into the repository
$ cd phaser3-multiplayer-game
# Install dependencies
$ npm install
# Start the local development server (on port 1444)
$ npm run start
# Add bots to the game (via puppeteer) to test it
$ npm run test
```