(Translated by https://www.hiragana.jp/)
GitHub - zakred/pi-rats-js: 2D mini-game challenge build with Phaser3
Skip to content

2D mini-game challenge build with Phaser3

Notifications You must be signed in to change notification settings

zakred/pi-rats-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi-rates / 2d-game-phaser

This mini game was developed as part of a challenge with the following instructions:

  • Using Phaser3, create a 2D pixel mini-game that demonstrates knowledge of arcade physics, sprite sheets, loading assets externally and communication between scenes.
  • Using NodeJS, create a backend server that communicates with the mini game in real time.
Untitled.Project.mp4

Pirate Dodgeball

The goal of the game is pretty simple, you have to hit the enemy pirate.

Controlls

Left mouse click to select the square where you want to move (you can only move to squares you can get to walking) Right mouse click to select the enemy square where you want to shoot your cannon at.

About implementation

The most relevant concepts beside the Phaser3 specifics are:

Multiplayer system

This feature allows the user to create and join "parties". The communication then, is between players inside the same party

Turn based mechanics

Each player has 10 seconds to make their move and they both move and shoot at the same time.

Path finding

The current implementation uses Dijkstra's A* algorithm to find the best possible path

About

2D mini-game challenge build with Phaser3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 2.4%
  • Other 0.5%