public void prompt() { String prompt = "Choose your action:\n1 - Explore the town\n2 - Check your inventory\n3 - Go to the tavern\n4 - Go to the pub\n5 - Go to the next zone"; System.out.println(prompt); String input = Keyboard.readString(); if (input.equals("1")) { System.out.println("Under development"); prompt(); } else if (input.equals("2")) { System.out.println("You ruffle through your bag."); inventory.prompt(chara); prompt(); } else if (input.equals("3")) { System.out.println("Under development"); prompt(); } else if (input.equals("4")) { System.out.println("Under development"); prompt(); } else if (input.equals("5")) { exit(); } else { System.out.println("Try again"); prompt(); } }