Skip to content

SwamiAmit/Ghost-Run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghosts

Multiplayer game using Socket IO

Setup

Install the dependencies in package.json using npm install and start the server with node server.js. This application is listening on port 8000. In order to play multiplayer, find out your private iPv4 address and connect a second player from another computer using 192.168.X.X:8000.

The game requires two clients to be connected for the game to start. To just try it out you could connect both clients from the same computer using multiple tabs in the same browser.

Screenshot

How to play

Move around with the arrow keys and hit space to attack. Ghosts will spawn frequently and follow one of the players at random. If an enemy is next to the player when attacking it will take damage. Ghost will also attack the player when close and their attacks are represented by a grey/orange circle which indicates if it was a missed hit or a successful hit.

Game over

The game is lost when both players' health reaches 0. To regenerate health, medicine packs spawn randomly across the map which can be picked up simply by stepping over them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published