Skip to content

donkike/CardGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

CardGame simulation using semaphores and shared memory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published