right now, if you are in say, room 1 with rooms 5, 6 and 2 around you, you can input
shoot 5 1 6 1 2 to shoot at all three rooms around you.
This guarantees you will win whenever you smell the wumpus.
We should prevent the arrows from going back to the room from which it came so that if you were in room 1 and tried to
shoot 5 1 6,
the arrow would fly into room 5 and hit a wall or something as it tried to turn all the way around to go back into room 1 from which it was fired.
Same if you tried shoot 5 10 5 4,
the arrow should successfully fly through room 5 and 10 (hitting the wumpus if it's in either rooms), but hit the wall or the ground as it tries to turn around to go back into room 5.
Closing this issue because David's changes that causes the hunter to get killed if the arrow passes through the room the hunter is in takes care of the underlying problem
right now, if you are in say, room 1 with rooms 5, 6 and 2 around you, you can input shoot 5 1 6 1 2 to shoot at all three rooms around you. This guarantees you will win whenever you smell the wumpus.
We should prevent the arrows from going back to the room from which it came so that if you were in room 1 and tried to shoot 5 1 6,
the arrow would fly into room 5 and hit a wall or something as it tried to turn all the way around to go back into room 1 from which it was fired.
Same if you tried shoot 5 10 5 4, the arrow should successfully fly through room 5 and 10 (hitting the wumpus if it's in either rooms), but hit the wall or the ground as it tries to turn around to go back into room 5.