Skip to content

volodalexey/last_colony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Last Colony (HTML5 game)

Originally created by Aditya Ravi Shankar. Refactored by volodalexey to use modern javascript and Node.js features.

Setup

Install Node.js from nodejs.org

Navigate to project folder

cd path/to/project/folder

Download all node modules

npm i

run node server

node server.js

Navigate to localhost:8181 in your browser

Multiplayer

Basically it is possible to play muiltiplayer game only if all peers are at the same network. In this case you have to find out IP of Node.JS server and connect to it in browser by typing IP:port (e.g. http://192.168.1.101:8181/).

Credits