Skip to content

A browser multiplayer game written in TypeScript using Phaser game framework and Colyseus game server

Notifications You must be signed in to change notification settings

rzinurov/bouncification

Repository files navigation

Bouncification

A browser multiplayer game with bouncing balls.

Cliend side is written in TypeScript using Phaser game framework, and is based on parcel template by Ourcade.

It's using Colyseus game server, and can run on Colyseus Cloud Hosting under a free tier.

matter.js physics engine is used on both client and server sides.

Bouncification

Local development

Preconditions

  • Node.js version v14.18.2
  • macOS or Linux/Unix operating system
npm install

Running in dev mode

Start server:

npm run start-server

Start client:

npm run start

Open the following URL in your browser:

http://localhost:8000/

Monitor server and room states:

http://localhost:2567/colyseus/#/

Build and deploy to your own hosting

npm run build

Upload the contents of ./dist/server to Colyseus Arena or any other hosting of your choice.

Server application includes Express web server, and is serving the client web page automatically.

Hope you enjoy it!

If you find this repo helpful in any way, please consider giving it a star.

Also, if you have any suggestions on how this project can be improved, please submit a PR or create an issue - I'd be forever grateful.

About

A browser multiplayer game written in TypeScript using Phaser game framework and Colyseus game server

Topics

Resources

Stars

Watchers

Forks

Languages