Skip to content

Developed a robot simulation system to autonomously clear particles from a map using object-oriented programming (OOP) principles. Designed an interactive graphical interface to manage and visualize the simulation.

Notifications You must be signed in to change notification settings

YDIB11/Object-Oriented-Programming-Project

Repository files navigation

Object-Oriented Programming — Robot Cleaner Simulation

A C++ OOP project that simulates a robot clearing particles on a map, with a lightweight graphical layer to visualize state and interact with the run. The code showcases encapsulation, composition, and a clean split between simulation, graphics, and input.

Build system: Makefile · Language: C++


✨ Features

  • Domain objects: Robot, Particule, Shape, Simulation, Message
  • Simple graphics + input (graphic., gui.)
  • Deterministic step loop (run or step-by-step)
  • Headers (.h) for APIs, implementations (.cc) for logic

🗂️ Project Layout (overview)

.
├─ Makefile
├─ constantes.h
├─ projet.cc (entry point)
├─ simulation.{h,cc} (world state & update loop)
├─ robot.{h,cc} (robot behavior)
├─ particule.{h,cc} (map particles)
├─ shape.{h,cc} (geometric primitives)
├─ gui.{h,cc} (input / small UI)
├─ graphic.{h,cc} (drawing primitives)
└─ message.{h,cc} (UI/system messaging)

Update names if they differ in your repo.


⚙️ Build & Run

Linux / macOS make ./projet

If you want stricter warnings (if your Makefile allows overrides): make clean make CXXFLAGS='-O2 -Wall -Wextra -pedantic'


About

Developed a robot simulation system to autonomously clear particles from a map using object-oriented programming (OOP) principles. Designed an interactive graphical interface to manage and visualize the simulation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published