-
Notifications
You must be signed in to change notification settings - Fork 1
ritwikbasak/battlefield_rpc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
AOS Assignment 1 Group Details Ritwik Basak 2023H1030079P Adwait Gondhalekar 2023H1030089P Installation Instructions pip install colorama pip install grpcio pip install grpcio-tools Instructions to run the code Before running the server.py file and client.py file there are some changes that are needed to be done in both the files :- check for variables “own_ip_addr” and “others_ip_addr” and make necessary changes as to which system will run the server.py file and which will run client.py file. First start the server using the command python3 server.py N M t T S1 S2 ... SM here N = size of grid i.e. N*N here M = total number of soldiers in the game here t = the periodic time after which missile will be fired here T = Total Game Time here S1 S2 .... SM represents the speed of the respective soldiers in the game All of these are python command line arguments required to pass to run the server.py file The soldier positions are assigned randomly at the start of the game. Next we need to run the client.py file on another system Instructions to run client.py file python3 client.py After this the client.py starts execution and soldiers apart from commander are spawned where for every incoming missile they try to take shelter.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published