snakedrive

kirkjerk's picture
snakedrive.png
Game File: 

snakes eat mice! space starts, arrow steers left and right. Don't hit the walls or your own tail

i was just wondering what would happen if you took the old cellphone "snake" game and made it circular instead of grid based. Then I remembered an old Compute's Gazette game where the snake ate mice.

So, I dunno, Not as awesome as I had hoped, but kinda playable, and cute in its way.

Event Created For: 
Made For: 
An event

Comments

rhetoricstu's picture

nice idea

nice idea

kirkjerk's picture

here is a mac version

here is a mac version

AttachmentSize
application.macosx.zip210.82 KB
kirkjerk's picture

also playable online at

also playable online at http://kirkjerk.com/java/snakedrive/

Danni's picture

I want Linux version

I want Linux version >:(

More specifically, I've tried running this from commandline but this is what I get:

[icebreaker lib]$ java -jar snakedrive.jar
Exception in thread "main" java.lang.NoClassDefFoundError: processing/core/PApplet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Caused by: java.lang.ClassNotFoundException: processing.core.PApplet
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 12 more
Could not find the main class: snakedrive. Program will exit.
[icebreaker lib]$

I don't understand how the heck libraries/dependencies work in any language other than C/C++, so help would be appreciated.

Danni's picture

Never mind, got it working

Never mind, got it working by installing Processing and then opening the source file in the editor.

Got 26 on my first try. I like how you can use your snake's body to block/guide/trap the mice.

kirkjerk's picture

Heh sorry about the lack of

Heh sorry about the lack of alternative versions: Processing can spit out Windows, Mac, Linux, and applets, but given the KNP nature of things here I usually just spin the Win build instead of tripling the file size... did the applet URL work?

Danni's picture

The web version works fine.

The web version works fine.

Blueberry Soft's picture

I feel like I'm looking in a

I feel like I'm looking in a petri dish.

sergiocornaga's picture

I was really hoping to draw

I was really hoping to draw something using the snake's body and preserve it through death, but I couldn't pull off anything interesting.

pensive-mosquitoes