/lemipc

IPCs are fun !

Primary LanguageC

Lem-ipc

image

Description

Lem-ipc is a project where you have to implement a communication system between processes using shared memory, semaphores and message queues.

Usage

Build the project

make

This will build the project and create the executable lemipc and lemipc_visualizer

build with debug symbols

make debug

This will build the project with debug symbols and create the executable lemipc_debug and lemipc_visualizer_debug

Run the project

./lemipc arena_size team_nb minimum_players [speed]

Project parameters

  • arena_size: The size of the arena
  • team_nb: The id of the team
  • minimum_players: The minimum number of players to start the game
  • speed: The speed of the game (optional)

Run the visualizer

./lemipc_visualizer arena_size

Visualizer parameters

  • arena_size: The size of the arena