Skip to content

Simple 3D real time game created using Three.js and MongoDB

Notifications You must be signed in to change notification settings

net-runner/region-conquest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Region Conquest

A JavaScript 2-man multiplayer game about conquering zones. Created with tree.js, socket.io and mongo-db.

Features

Real time communication and decision making. Supports large amount of 2 man lobbies simultaneously and player reconnection.

If MongoDB is present and running on local machine enables user registration, login and storing game related statistics.

How to play?

Just move around using [W][A][S][D] and every small amount of time you will generate points in region where you are standing. The rest of game mechanics is for you to discover.

Screenshots

Login Game

How to run?

Install packages

npm i

Run

npm start

Config

server_config.json The configuration file stores some important constants and could be used to easy configure game experience.

interval - defines how often server computes and sends data [ms]
gameTime - how long does one match lasts [s]
capacity - defines maximum points in default region
globalExpansionDivider - represents a number used in dividing expansion points

Authors

@net-runner && @przemec

Releases

No releases published

Packages

No packages published

Languages