An open API service indexing awesome lists of open source software.

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

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
```