Total members 11890 |It is currently Sat Apr 20, 2024 3:14 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka



Go to page Previous  1, 2, 3



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 1059 times





Author:
Newbie
User avatar Posts: 3
Have thanks: 2 time

For this message the author cartkid08 has received gratitude : DrRakha

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.

Attachment:
M_snake.zip [56.55 KiB]
Downloaded 917 times




Author:
Newbie
User avatar Posts: 3
Have thanks: 2 time

For this message the author cartkid08 has received gratitude : DrRakha

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...



Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

WOW, very good! :duel: :aikido: :beg: :aikido: :sohappy:



Author:

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



Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

dude thanks!!!!
i owe you!!!



Author:

If no JVM can not start?



Author:

yes , sure , you must have JVM installed , to run java APPLETS.


_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

updated.


_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2, 3

  Related Posts  to : Snake Java (SE) Game
 need help in java 1.4 snake game project     -  
 Snake Game 2D (J2SE)     -  
 Simple Snake Game     -  
 Need Snake Game implemented using J2me on Mobile     -  
 2d game in java-Monster-Java 2D Game Graphics and Animation     -  
 ping pong game - java-Sticker-ball game (modified v1.1)     -  
 fill all Squares of game board - 2d Java Game Example     -  
 Chess Game in Java     -  
 Need help getting started on a small java game?     -  
 JChess game (2 players Java chess )     -  










Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com