Joined: Tue Nov 16, 2010 7:47 pm Posts: 4 Has thanked: 0 time Have thanks: 2 time
I edited this program to have a button at the beginning to start the game. Also, there are buttons at the end of the game to either restart the game, or quit the game.
If you want to change the size of the playing window it only requires one change in the snake.java file. The program is able to use that setting in the algorithm to place food within the grid.
Enjoy, Eric
Attachment:
File comment: This is the snake program I changed. M_snake.zip [56.55 KiB]
Downloaded 180 times
For this message the author cartkid08 has received gratitude : msi_333
cartkid08
Topic subject: Re: Snake Java (SE) Game
Posted: Thu Nov 25, 2010 4:39 am
Joined: Tue Nov 16, 2010 7:47 pm Posts: 4 Has thanked: 0 time Have thanks: 2 time
I don't know why my last post didn't post. I've made all the changes I said I would and I even did those that were suggested.
For this message the author cartkid08 has received gratitude : msi_333
taura
Topic subject: Re: Snake Java (SE) Game
Posted: Fri Jun 03, 2011 8:59 pm
Joined: Sat May 28, 2011 8:30 am Posts: 1 Has thanked: 0 time Have thanks: 0 time
Ive got a question...about the upper snake game...can anybody edit so when you start the program, it shows a blank window with a button "start the game" and the button "exit". And when you click start, then a new windows shows up where you play the game.
I seriously dont know how to do that, i tried different things, but unsuccessful...
VietCoder
Topic subject: Re: Snake Java (SE) Game
Posted: Sun Sep 11, 2011 8:39 am
WOW, very good!
alleish26
Topic subject: Re: Snake Java (SE) Game
Posted: Wed Sep 28, 2011 2:39 pm
Joined: Wed Sep 28, 2011 2:16 pm Posts: 1 Has thanked: 0 time Have thanks: 0 time
hi .. im a student taking up BSIT course. I chose your program to be my project in jAVA..
Can u explain your codes to me? If you can.. please thank you
Guest
Topic subject: Re: Snake Java (SE) Game
Posted: Thu Oct 13, 2011 7:52 pm
dude thanks!!!! i owe you!!!
Guest
Topic subject: Re: Snake Java (SE) Game
Posted: Thu Nov 03, 2011 6:06 pm
If no JVM can not start?
msi_333
Topic subject: Re: Snake Java (SE) Game
Posted: Sat Nov 05, 2011 2:27 am
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2277 Location: Earth Has thanked: 39 time Have thanks: 61 time
yes , sure , you must have JVM installed , to run java APPLETS.
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )