Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NumberFormatException with Snake
#2
The reason for this seems to be that you are trying to convert " 40" into an integer, which cannot be done because there is a SPACE character within your integer.

Looking at your code, I can't find where that SPACE character is added, though... Hmmm..

Maybe now that you know the problem, you can figure it out?
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
NumberFormatException with Snake - by Timkat1994 - 09-16-2013, 03:04 AM
Re: NumberFormatException with Snake - by brandonio21_phpbb3_import2 - 09-17-2013, 11:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to export Snake Game as a Runnable JAR file? bedigursimran 0 6,834 11-19-2013, 10:01 PM
Last Post: bedigursimran
  the snake game don't like me. Aaron Rogers118 3 14,093 08-22-2013, 10:10 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)