skip to content
sacha.lemee
> cd projects/zappy

Zappy

A network game where teams of AIs compete on a resource map

context
EPITECH · team of 6
period
May → Jun 2026
platforms
C · C++ · Python
Zappy's graphical client: grass tiles scattered with resources and gems, with players standing on the map

> cat context.md

An EPITECH end-of-year project, built by six students: Marin Jeunot, Evans Ramin, Thibault Miallet, Daniel Lozovan, Nicolas Gonzalez and me. My part: the AI client in Python (its strategy, the broadcasts between AIs, the call to an incantation, tracking the team's free slots), its documentation, the CI and the project documentation. The server and the graphical client were written by my teammates.

> cat how-it-works.md

  1. 01The server runs the whole world in a single thread and handles every connection with poll.
  2. 02Each AI is split into four parts: network (socket and protocol), game (its memory: position, level, inventory, vision), algo (pure decision logic) and strategy, which turns a state into a command.
  3. 03A finite state machine decides what the AI is doing. It sends one command at a time, so every action answers a fresh decision.
  4. 04The AIs of a team gather for an incantation through Broadcast messages, and spawn new teammates while the team has free slots.