Homework 13: Rock, Paper, Scissors

This continues the parallel theme. Your job is to write a rock-paper-scissors simulator.

For example, if 3 threads are running and thread “A” throws rock, thread “B” throws paper, and thread “C” throws paper, then thread “B” scores one for itself (for beating “A”) and thread “C” scores one for itself (for beating “A”). Thread “A” scores nothing (for beating no one).

Bring your solution to our April meeting.

Feel free to discuss the problem or any other topics you are interested in on our mailing list (accessible via our Meetup Group).

Provided Solutions

Frank W.

Bill R.

Kris W.

Bill C.