Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 553 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 553 Bytes

gameOf3

A game with two independent players 1 & 2, leveraging interprocess communication (IPC).

Alt Text

GOAL ★

  • When a player starts, it incepts a random (whole) number and sends it to the second player as an approach of starting the game.

  • The receiving player can now always choose between adding one of {-1,0,1} to get to a number that is divisible by 3.

  • Divide it by three. The resulting whole number is thensent back to the original sender.