Changes

Jump to: navigation, search

Computer Science/162/proj1

10 bytes added, 00:06, 5 October 2008
m
Implementation: rename heading
If there are no children on Molokai or if there are no adults left on Oahu, two children from Oahu will pilot over and one will return to Molokai. If there is a child on Molokai, an adult will pilot over to Molokai and the child will bring the boat back to Oahu. This process, carried to completion eventually results in all of the adults and children on Molokai.
;Shared New state variables(all shared)
{{c|<pre>lock = new Lock()
boatIsland = Island.A
1,277
edits

Navigation menu