Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages