News:

Come Chat with us live! Learn how HERE!

Main Menu

Kitten Cannon... console?

Started by Archangel, October 20, 2008, 11:49:27 AM

Archangel

So, being unable to sleep at 2 AM and having to get up three hours later led to me writing a kitten cannon simulator, in perl. Kitten Cannon is a flash game where you shoot out a kitten at a random speed/trajectory, and watch it bounce across the playfield and hit various objects to increase it's speed/trajectory/height or slow it down. So, the version I wrote only works in the console, but it's pretty neat. Thinking about throwing an SDL wrapper onto it for some cheesy graphics.

source: http://ns1.solar-operator.us/~intellekt/kittencannon.txt

Some of my best runs have gone over 12k units.



There's still a few logic errors, and I couldn't figure out how to make the speed relative to the initial random velocity/trajectory (anybody want to fill me in on that?!) , but it still works quite well.

Comment and help me fix bugs! :]

edit;
I added some more objects and made a few balance changes. It's harder to get further now :D

Edit #2: For those of you without perl, or too scared to download my code, here's a web version: http://ns1.solar-operator.us/~intellekt/kittencannon.cgi

Edit #3! I have added nice colours and bold to the web cannon... and an IRC relay, so you can see other's scores, as well as records! Visit at irc.partyvan.fm #kittencannon !

Bissig

1. Good work
2. "Text only" RPGs I understand, but "text only" fun games?

Syntac


your face

Flight of the Hamsters ftw.  Kitten cannon always seemed too disturbing.
Quote from: dolby on February 19, 2003, 06:44:44 PM
spam spam spam, waste waste waste!

Snake

Random spam:

kitten trajectory: 38 degrees, speed: 2 units/sec, initial increase/peak: 19
OK! Firing!
Bounce! kitten hit the ground at 80 units. peak height:04


kitten hit a large spring at 80 units. Oof!
Bounce! kitten hit the ground at 400 units. peak height:02


kitten hit a large spring at 400 units. Oof!
Bounce! kitten hit the ground at 712 units. peak height:01


kitten hit a medium spring at 712 units. Oof!
Bounce! kitten hit the ground at 920 units. peak height:01


kitten hit a stick of dynamite at 920 units. Oof!
Bounce! kitten hit the ground at 1328 units. peak height:01


kitten hit a medium spring at 1328 units. Oof!
Bounce! kitten hit the ground at 1536 units. peak height:01
Bounce! kitten hit the ground at 1544 units. peak height:00


kitten hit a large spring at 1544 units. Oof!
Bounce! kitten hit the ground at 1848 units. peak height:00


kitten hit a large spring at 1848 units. Oof!
Bounce! kitten hit the ground at 2152 units. peak height:00


kitten hit a medium spring at 2152 units. Oof!
Bounce! kitten hit the ground at 2356 units. peak height:012


kitten hit a large spring at 2356 units. Oof!
Bounce! kitten hit the ground at 2708 units. peak height:06


kitten hit a tarpit at 2708 units. Oof!



Your kitten hit:

    * a large spring at 80 units
    * a large spring at 400 units
    * a medium spring at 712 units
    * a stick of dynamite at 920 units
    * a medium spring at 1328 units
    * a large spring at 1544 units
    * a large spring at 1848 units
    * a medium spring at 2152 units
    * a large spring at 2356 units
    * a tarpit at 2708 units


Kitten landed in a tarpit.
Kitten landed. Distance travelled: 2708 units
.

Archangel

I plan to add more features. :] Keep checking !

Hendrich

Quote from: Snake on October 20, 2008, 08:45:44 PM
Random spam:

Error- Kitten has encountered a glitch whereas there is no pictures to display the landings. Have fun with the text, hope you like text games that makes you imagine the events.

This game sounds loads of fun.

Syntac

Archangel did say he might make it graphics-enabled.

Archangel


Hendrich

#9
QuoteArchangel did say he might make it graphics-enabled.

Just saying that the text version of the game is totally fun. ^^

If there will be a graphic version of the games, make the kitties look cute, UNTIL THEY SPLAT BLOOD ON THE GROUND!

Syntac


Archangel

Well, the graphics would just be little GIF images probably.

Taiyo.uk

oh hai! dis mod, u maeks it liek icanhascheezburger.com meets freddy kruger plz kthxbai!

Archangel

If you want to make the little icons, sure.

+ OPTIMUS +

put that "fire again" button also on the top, so we don't have to hunt for it after uninteresting flights. i want rapid catfeast.
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+

Kaleo

Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...

Paradox

I made a cannon game for a Ti-89 Titanium the other day.

Used a 1px radius square as the ball.

Did the physics calculations and everything, and you could set gravity, atmospheres, etc. Even did SI/American unit translations.

∧OMG ENTROPY∧

Seffylight

Quote from: + OPTIMUS + on October 21, 2008, 04:01:41 PM
put that "fire again" button also on the top, so we don't have to hunt for it after uninteresting flights. i want rapid catfeast.
PROTIP: press f5
Stop it. Seriously.

Yarou



Currently:
{&}Yarou


+ OPTIMUS +

#20
:-) +1p1

and uh... "console" means to me that it should work in tremulous' console :-O
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+