Please edit your post and wrap your code with code tags:
[code=java]
<YOUR CODE HERE>
[/code]
to get highlighting and preserve formatting.
enter your guesss:Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Unknown Source)
at java.util.Scanner.next(Unknown Source)
at java.util.Scanner.nextInt(Unknown Source)
at java.util.Scanner.nextInt(Unknown Source)
at Game.play(Game.java:130)
At line 130 the code called the nextInt() method when there was not anything to read.
Make sure there is data to be read before trying to read it. For example the hasNextInt() will say if there is a number ready to be read. Or change the code or input file so the reads that are done matches the data in the file.