Project includes:
- simple C++ server
- python client
The aim of the project was to write multithreaded server using BSD sockets in C/C++. Server uses my own engine for this purpose (you can find it here) and json library for modern C++.
To build the project clone repository with all submodules (recurse-submodules
option).
Go to main directory of the project, to build and run server:
$ mkdir build
$ cd build/
$ cmake ..
$ make
$ ./AgarioServer_run
To run client go to the src/pythonClient
directory:
$ pip install -r requirements.txt
$ python agario.py <ip address> <port number>
You should replace <ip address>
with your ip, and <port number>
with the outcome of