skip to content
sacha.lemee
> cd projects/arcade

Arcade

A retro gaming platform that swaps its graphics library mid-game

context
EPITECH · team of 3
period
Mar → Apr 2026
platforms
C++ · ncurses · SDL2 · SFML
Arcade in a terminal with its ncurses display: the menu listing the games and the scores, and a game of Snake

> cat context.md

An EPITECH project, built with Evans Ramin and Marin Jeunot. Its general architecture was shared with another team: Nicolas Gonzalez, Daniel Lozovan and Thibault Miallet. My part: the core (main loop and dynamic loading of the libraries with dlopen), the menu, a good share of the ncurses, SDL2 and SFML displays, and the CI. The games, Snake and Minesweeper, were written by my teammates.

> cat how-it-works.md

  1. 01The core never links to a graphics library: games and displays are separate .so plug-ins, loaded with dlopen, dlsym and dlclose.
  2. 02Two interfaces keep them apart: IDisplay for rendering and input, IGame for the game logic. A display never touches the rules, a game draws nothing itself.
  3. 03The menu lists the games and graphics libraries found in ./lib, the players' scores and a field for the player's name. Keys switch library, switch game, restart or go back to the menu.
  4. 04The CI installs ncurses, SDL2 and SFML and checks that the core, the displays and the games all build.