I've typed the code for the DotComBust Game in HFJ, and it all compiled, but for some reason, I'm not getting the
string prompt to enter a guess or the result of my guess (hit or kill). For those familiar with the game, here's the code. Can someone point out what's wrong? My head is swimming/ spinning from trying to figure it out.
The GameHelper code was ready bake, so if there's a problem somewhere in the getUserInput () method, I'm not seeing it, because I just typed it in an compiled it (it's ahead of what the chapter is teaching). It's supposed to prompt a guess with "enter a guess" and return a result of hit or kill, but after the instructions display, the cursor just blinks and when I enter a guess, nothing happens.
It's probably something small I missed, but I don't see it.