Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 584 Bytes

File metadata and controls

24 lines (15 loc) · 584 Bytes

Card Game

Instructions

  • Controller: Run ./Controller. Optional: Type --slow to see slow simulation.
  • Player: Run ./Player. Optional: Type --cheat to let the player cheat and play a card twice.

For both commands, type -h or --help to see the example usage.

Compilation

To compile run make.

Dependencies

Requires semaphores library. Copy and paste in include directory.


Note: Please interrupt (ctrl-c) the controller repeatedly while waiting for players to join to successfully kill the process.