class DungeonDriver {
public static void main(String[] args) throws Exception {
Dungeon d = new Dungeon();
d.player = new PlayableMonster();
while(true){
System.out.println("Want to 'act' or 'change rooms'?");
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
if(line.startsWith("act")) d.player.nextAction();
else if(line.startsWith("change")) d.nextRoom();
else throw new Exception("Game over. Please follow directions");
}
}
}