All projects

Game · Multiplayer · AI agents

ZAPPY

ZAPPY

Game · Multiplayer · AI agents

ZAPPY

Real-time multiplayer network game built from scratch by a team of five: game server, autonomous AI clients and a 3D graphical interface.

Zappy is Epitech's real-time multiplayer programming challenge: teams of AI-controlled players share a world, gather resources and cooperate to level up, while a server keeps the whole game consistent. We built every part of it from scratch as a team of five, in one month. The project is made of three programs that talk to each other over the network. The game server manages the map, the resources, time and every player's actions, and has to stay fast and fair while many clients send commands at once. The AI clients are autonomous players: they explore, collect, communicate with their teammates and decide on their own how to reach the next level. The graphical interface connects to the server as a spectator and renders the world in 3D, live. ⚠ The server is written in C, the 3D interface in C++ and the AI clients in Python, each language chosen for its part: low-level control for the server, rendering performance for the interface, fast iteration for the AI. The hardest part was not one program but making them work together: agreeing on a network protocol, handling many simultaneous connections, keeping game time in sync and debugging behaviour that only appears when dozens of agents play at once. Zappy taught me network programming, distributed systems and, above all, how to split a large system between five people and integrate it without breaking it.

Built with

PythonCC++

Screens

ZAPPY
See the other projects