fsioni / Colorburst-fullstack-mp-game

io multiplayer game. TS, Phaser, Firebase, Socket IO, API...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ColorBurst Logo

ColorBurst

Multiplayer game, made with Web technologies. (React, Phaser, Typescript, Express, Socket.io, Firebase)

Final Grade

πŸ“ 18/20 : top of promotion πŸ™Œ

🧐 About

In this io game, the world is your canvas. Explore the 2D environment and cover it with your color to expand your territory. Be on the lookout for opponents trying to do the same! Eliminate your enemies and become the ultimate paint champion in this fast-paced game.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

What things you need to install the game and how to install them.

  • For any platform : npmor any js package manager

Folder structure

Folders tree
β”œβ”€β”€ client
β”‚   β”œβ”€β”€ ress/
β”‚   β”‚
β”‚   └── src
β”‚        β”œβ”€β”€ assets/
β”‚        β”œβ”€β”€ components/
β”‚        β”œβ”€β”€ data/
β”‚        └── phaser
β”‚                β”œβ”€β”€ gameObjects/
β”‚                └── scenes/
β”‚
└── server
     β”œβ”€β”€ src
     β”‚   β”œβ”€β”€ database/
     β”‚   β”œβ”€β”€ enums/
     β”‚   └── game/
     β”‚
     └── tests/

Installing

  • Open a terminal to the project root directory.

  • Install the dependencies

cd server && npm install && cd ../client && npm install

🎈 Usage

After installing the dependencies :

  • Launch the server (backend & frontend)
cd server && npm start
  • Visit the link that is displayed in the console (localhost:xxxx)
  • PLAY & have FUN

πŸ“ Rules

  • Objective: The objective of the game is to paint as much of the map as possible with your color while avoiding other players.

  • Controls: Use the arrow keys to move in the desired direction.

  • Starting the game: At the beginning of the game, you will be placed on a blank map. Choose a skin and start painting the map.

  • Avoid other players: Avoid other players who try to block or eliminate you. If you another player (or yourself) collide with your trail, you lose and must start over.

  • Gain points: You gain points by painting the map. You can also steal other players' points when you eliminate them!

⛏️ Built Using

  • Typescript : statically typed superset of JavaScript used to write both the client and server-side code
  • Vite : frontend server
  • React : frontend library
  • Phaser : game engine
  • Firebase : authentication and data persistence
  • Socket.io : game communications
  • ExpressJS : backend server
  • Jest : testing
  • ESLint : javaScript linter
  • Prettier : code formatter
  • Husky : run scripts at commit (lint and format)

πŸ“Œ Trello Board

You can find our Trello Board.

✍️ Authors

Screenshots

UI Screen Game Screen

About

io multiplayer game. TS, Phaser, Firebase, Socket IO, API...


Languages

Language:HTML 48.8%Language:TypeScript 27.0%Language:CSS 12.3%Language:JavaScript 11.8%Language:Shell 0.0%