← Back to Projects

Project

Intergalactic Space Race

Developed a Linux-based C simulation that models competing spaceship processes using fork(), pipes, and inter-process communication to simulate a real-time space race environment.

CLinuxSystems ProgrammingIPC

Demo Video

Screenshot(s)

Intergalactic Space Race

Highlights

  • Used fork() to create multiple child processes representing independent spaceships
  • Implemented pipe-based inter-process communication for real-time progress updates between child processes and the control center
  • Designed a parent process to manage race state, leaderboard updates, and simulation output
  • Simulated dynamic race progression, fuel usage, and randomized movement across multiple processes
  • Applied Linux system calls including fork(), pipe(), read(), write(), wait(), getpid(), and sleep()