Skip to content

Online multiplayer survival game made using Javascript, Node.js, Sockets.io, Express

Notifications You must be signed in to change notification settings

SatCat/node-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-game

Online multiplayer survival game made using Javascript, Node.js, Sockets.io, Express. 2018

By Felix Lapierre and Jun Loke

How to Run

Make sure you have node.js installed on your system. In the folder containing the repo, run the following commands:

npm install

This will install all of the dependencies in the folder, which are necessary to run the server. To turn on the server, execute the following command in the folder containing the repo:

npm run start

This will start a server on port 5000 of your computer. The port used can be changed by modifying server.ts To connect to the server from the same computer, open a web browser and enter the following into your address bar:

localhost:5000

To connect from a different computer, enter the IP address of the host computer in place of localhost.

About

Online multiplayer survival game made using Javascript, Node.js, Sockets.io, Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.2%
  • JavaScript 20.0%
  • HTML 4.8%