Skip to content

dziulek/AgarioServer

Repository files navigation

Server and client for Agar.io game

CI status CI status CI status

Overview

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++.

Setup

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

About

Computer network project: 2d game

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages