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 is running on Colyseus Arena cloud hosting under a free tier.

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

⚠️ Please note that the server is located in Germany, and your game experience may be different depending on your proximity to the data center.

You can play it here

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