Beispiel #1
0
        public void playerStartsinRoomZero()
        {
            Room.setupRooms();
            Player player1 = new Player();

            Assert.AreEqual(player1.currentRoom, Room.roomList[0]);
        }
Beispiel #2
0
 public static void setup()
 {
     Room.setupRooms();
     Room.setPit();
     wumpus = new Wumpus();
     player = new Player();
     initializeRandomDoor();
 }
Beispiel #3
0
        public void playerMovesToAnotherRoom()
        {
            Room.setupRooms();
            Player player1 = new Player();

            player1.move(Room.roomList[1]);

            Assert.AreEqual(player1.currentRoom, Room.roomList[1]);
        }