Skip to content

geckosio/phaser3-multiplayer-game-example

Repository files navigation

Phaser 3 Multiplayer Game Example with geckos.io

How To Start

To clone and run this game, you'll need Git and Node.js (which comes with npm) 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.

# 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