beloitcollegecomputerscience / RiverCrossingPuzzles

A project to implement a wide variety of river crossing puzzles into one application
0 stars 3 forks source link

Boat should not be allowed to move if there's nobody to pilot it. #47

Open NoraCodes opened 4 years ago

NoraCodes commented 4 years ago

Currently, we can magically move the boat around with nobody in it, which make the puzzle quite a lot easier. An InvalidMove exception should be thrown if someone tries to move the boat with nobody in it.

Darrah commented 4 years ago

Need to merge? the code for console game, and ensure that the graphical game is using that code.

Darrah commented 4 years ago

This will be resolved by converting the console game to a wrapper around other existing classes.