Would you like to play a game?

Status
Not open for further replies.

bubbles

Domainers...
Apr 11, 2007
858
27
0
Good.

So for my final in AP Computer Science we had to make a game. So me and my friend threw snake together in Java this weekend. Everything worked fine on his computer.

When I tested it at my house the game randomly freezes every 6 seconds, for about a second, then goes again. I can't figure out why. Something to do with the threads maybe. So if you could please play the game:

Snake

And tell me if it pauses/freezes for you that would be great. If there are any Java gurus who'd be willing to look through my code, I'd appreciate that as well.
 


ROFL not snake huh? but you call the folder snake? no freezing but it runs way to fast, maybe set a speed increment? Not bad it just runs fast for me.
 
The speed varies by computer. I have the thread sleeping 20milisecods, which I guess is different for each computer.

The "not snake" is a joke with my teacher... I told her I was going to make snake, and she said "..not snake".
 
works fine for me. Firefox took forever to load the applet, thought it froze, but worked. Then I was having hell keeping up with it. I love that game! :D
 
Status
Not open for further replies.