hi guys,
busy doing an adventure game exercise off programming by doing...love it by the way...really recommend it to fellow green horns!!!
here is my code:
near the top th line
String startGame = input.nextLine();
was originally
String startGame = input.next();
this made my first statements print twice...
so i was getting
You are standing in front of the old house..."enter" to go in, or you can "leave"
twice ...and
wasn't one of the options. Try again."
was also printing...then th program ran as expected
changing the next to nextLine fixed the problem
why was this happening...
thanks for reading