Skip to content

ravjotsingh9/DistributedSystems

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARM Game With Distributed State [v0.2]

##Description The system is a prototype of distributed system that supports an Asynchronous Real-time Multiplayer Game (ARM Game). The folder [v0.2] contains the current stable release.

System Architecture

Alt text

##Running the System The system has many different component which are required to run separately.

###Order for running the system

  • Start the kvservice: ./kvservicemain 127.0.0.1:9999 0
  • Start the activityserver: ./activityServer -address 127.0.0.1:9999
  • Start some servers: ./server -clientAddress 127.0.0.1:10000 -logfile node -ID 0
  • Start some servers: ./server -clientAddress 127.0.0.1:10001 -logfile node -ID 1
  • Start the clients for the servers: ./client -serverAddress 127.0.0.1:10000
  • Start the clients for the servers: ./client -serverAddress 127.0.0.1:10001

###Run Large Number of Nodes

  • Start the kvservice: ./kvservicemain 127.0.0.1:9999 0
  • Start the activityserver: ./activityServer -address 127.0.0.1:9999
  • Start some servers: ./startServers.sh 30
  • Start some clients: ./startClients.sh 30

Simulation Video

You can find a video of the game simulation here Video of the game simulation

##Errors/Bugs: There can be a bug or race condition between the ServiceLocationUpdate and Respawn agent. Due to the number of threads the location could be updated after it is set un Respawn by locationUpdate and the respawn is lost.

About

Distributed Systems Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 70.7%
  • Go 24.4%
  • HTML 2.3%
  • JavaScript 1.3%
  • Python 0.6%
  • CSS 0.3%
  • Other 0.4%