bolyachevets / Hunt-the-Wumpus

Hunt the Wampus in Prolog: a group project for cpsc 312
1 stars 0 forks source link

Game not always starts #9

Closed bolyachevets closed 5 years ago

bolyachevets commented 5 years ago

As we implement senses check after game initialization, it may happen that the hunter is placed in a bottomless pit at the start. Need to handle this situation better and make sure game does not crash immediately.

bolyachevets commented 5 years ago

This can most likely be fixed by properly implementing sampling without replacement for game initialization. See the comment to issue on randomness #2

bolyachevets commented 5 years ago

David's commit fixed this