Omnimaga
General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: nemo on November 06, 2010, 11:45:17 pm
-
i recently made a snake game in java in which you can't collide with yourself. it's very bare-bones, and i'd like to see how compatible it is. i'd be grateful if you downloaded it for a try (: the download link is here (http://www.mediafire.com/?qr19hzvp8m4yhbf).
-
coool im trying it
sorry im not sure how to open it. i tried opening it with java 6 up22 in c:\program files\java\....d and opened it with java.exe a cmd window popus up for a few secs and then closes...
-
That's pretty neat :) The not able to collide with yourself thing is a little odd and can be hard to tell where your character is since the color doesn't darken or something. But other than that the only thing I would suggest is like a menu or something at the beginning because it just starts. Great work though :)
-
coool im trying it
sorry im not sure how to open it. i tried opening it with java 6 up22 in c:\program files\java\....d and opened it with java.exe a cmd window popus up for a few secs and then closes...
You need Java installed. http://www.java.com/en/
ALso nice game Nemo. It would be nice if it did not close when you died and showed a Game Over screen where you can click retry, though. :P
-
I thought i just said in the previous post that i had java v6 update 22 installed ??? (i updated it 2 days ago)....
anyway i got it to work. but it was complex... i had to copy the jar file into C:\Program Files\Java\jre6\bin then run java.exe through cmd and then give it the command:
C:\Program Files\Java\jre6\bin>java -jar snake.jar
then i created a shortcut for it to make things easier
steps to create a shortcut:
1. create a shortcut to java.exe (in C:\Program Files\Java\jre6\bin) on your desktop
2. right click and choose properties
3. Go to shortcut tab and paste this in the Target box:
"C:\Program Files\Java\jre6\bin\java.exe" -jar snake.jar
4. Run it and enjoy!
it worked and it is a nice game. As meishe91 and Dj_omni said, i would like it if there was a chance for the user to get ready to begin the game and also when it ends - it closes so suddenly too, maybe a retry option?
-
I thought i just said in the previous post that i had java v6 update 22 installed ??? (i updated it 2 days ago)....
anyway i got it to work. but it was complex... i had to copy the jar file into C:\Program Files\Java\jre6\bin then run java.exe through cmd and then give it the command:
C:\Program Files\Java\jre6\bin>java -jar snake.jar
then i created a shortcut for it to make things easier
steps to create a shortcut:
1. create a shortcut to java.exe (in C:\Program Files\Java\jre6\bin) on your desktop
2. right click and choose properties
3. Go to shortcut tab and paste this in the Target box:
"C:\Program Files\Java\jre6\bin\java.exe" -jar snake.jar
4. Run it and enjoy!
it worked and it is a nice game. As meishe91 and Dj_omni said, i would like it if there was a chance for the user to get ready to begin the game and also when it ends - it closes so suddenly too, maybe a retry option?
You should be able to just double-click the .jar file and it should run. I'm not an expert though when it comes to Java so better wait for someone else to answer.
-
Ah sorry, I checked your post and still didn't see it. I tried CTRL+F on it and for odd reasons it found no results on "install" x.x
GLad you got it to run, though.
-
possibly, it's just that i had to set the default program and none of them worked... and when i tried to set it to run with java.exe it didn't do anything. so i had to use the method i described above...
wait, i need to ask something... when you run it, does it popup with both the cmd window and the game window?
Maybe there should be a score counter for the game?
-
I only got the game window. Btw I'm on Win 7 64 bit.
-
oh... maybe i need to reinstall java, i think ill try that and let it reregister jar file association
-
Add a menu and some scoring and you pretty much got it. A few times it was an instant death because it just started and then crashed into the wall.
-
Add a menu and some scoring and you pretty much got it. A few times it was an instant death because it just started and then crashed into the wall.
Ya, that happened to me too.
-
/\i had to put on hand on the mouse and the other on the keyboard
nemo:i like!
-
Maybe some updated graphics as well?
-
Fun! and hard. ;)
-
Fun! and hard. ;)
Agreed. It's a really fun little game :)
-
I managed to get the snake to a very long length but then i crashed into the wall because i was going over myself...
and cmd still comes up everytime i play it
-
Oh wow. Looks like there hasn't been any progress on this since when I looked at this a long time ago. I deleted my copy of snake and I made a reminder to revisit this topic if I could. Seems like nothing has changed. I quite liked the game, despite being basic to play.
Also there was something wrong with my computer/java installation. I had reinstalled Windows and it worked perfectly fine by double-clicking it. And no cmd window!
EDIT: Oh the file is no longer on mediafire. I'll have to restore it from an old backup