Author Topic: Kitten Cannon... console?  (Read 14231 times)

Archangel

  • Guest
Kitten Cannon... console?
« on: October 20, 2008, 11:49:27 am »
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 !
« Last Edit: October 20, 2008, 01:29:26 pm by Archangel »

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Kitten Cannon... console?
« Reply #1 on: October 20, 2008, 03:09:24 pm »
1. Good work
2. "Text only" RPGs I understand, but "text only" fun games?

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Kitten Cannon... console?
« Reply #2 on: October 20, 2008, 08:07:36 pm »
Epic. Needs graphics, though...

your face

  • Community Moderators
  • *
  • Posts: 3843
  • Turrets: +116/-420
Re: Kitten Cannon... console?
« Reply #3 on: October 20, 2008, 08:25:05 pm »
Flight of the Hamsters ftw.  Kitten cannon always seemed too disturbing.
spam spam spam, waste waste waste!

Snake

  • Posts: 541
  • Turrets: +43/-110
    • IdeaShock
Re: Kitten Cannon... console?
« Reply #4 on: October 20, 2008, 08:45:44 pm »
Random spam:

Code: [Select]
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

  • Guest
Re: Kitten Cannon... console?
« Reply #5 on: October 20, 2008, 11:41:43 pm »
I plan to add more features. :] Keep checking !

Hendrich

  • Posts: 898
  • Turrets: +168/-149
    • TremCommands
Re: Kitten Cannon... console?
« Reply #6 on: October 21, 2008, 12:08:45 am »
Random spam:

Code: [Select]
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

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Kitten Cannon... console?
« Reply #7 on: October 21, 2008, 12:19:46 am »
Archangel did say he might make it graphics-enabled.

Archangel

  • Guest
Re: Kitten Cannon... console?
« Reply #8 on: October 21, 2008, 12:27:57 am »
I plan to add more features. :] Keep checking !

Hendrich

  • Posts: 898
  • Turrets: +168/-149
    • TremCommands
Re: Kitten Cannon... console?
« Reply #9 on: October 21, 2008, 12:33:53 am »
Quote
Archangel 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!
« Last Edit: October 21, 2008, 12:35:58 am by Hendrich »

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Kitten Cannon... console?
« Reply #10 on: October 21, 2008, 12:52:49 am »
You are a sick, sick person.

Archangel

  • Guest
Re: Kitten Cannon... console?
« Reply #11 on: October 21, 2008, 01:22:11 am »
Well, the graphics would just be little GIF images probably.

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Kitten Cannon... console?
« Reply #12 on: October 21, 2008, 01:45:32 am »
oh hai! dis mod, u maeks it liek icanhascheezburger.com meets freddy kruger plz kthxbai!

Archangel

  • Guest
Re: Kitten Cannon... console?
« Reply #13 on: October 21, 2008, 01:50:34 am »
If you want to make the little icons, sure.

+ OPTIMUS +

  • Posts: 1098
  • Turrets: +263/-164
Re: Kitten Cannon... console?
« Reply #14 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.
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+

Kaleo

  • Posts: 2098
  • Turrets: +176/-220
    • KaleoDesign
Re: Kitten Cannon... console?
« Reply #15 on: October 21, 2008, 10:46:32 pm »
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

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: Kitten Cannon... console?
« Reply #16 on: October 21, 2008, 10:49:26 pm »
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

  • Posts: 490
  • Turrets: +40/-26
Re: Kitten Cannon... console?
« Reply #17 on: October 21, 2008, 10:58:49 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

  • Posts: 218
  • Turrets: +43/-109
Re: Kitten Cannon... console?
« Reply #18 on: October 22, 2008, 12:43:19 am »
 :police:


Currently:
{&}Yarou

player1

  • Posts: 3062
  • Turrets: +527/-401
    • My Avatar! (if they were enabled) [by mietz]
Re: Dream-Quest Cannon... Kadath?
« Reply #19 on: October 22, 2008, 05:42:15 pm »
know hertz katzenz

"Your Ultharcat hit a Shoggoth halfway to Yuggoth."




+ OPTIMUS +

  • Posts: 1098
  • Turrets: +263/-164
Re: Kitten Cannon... console?
« Reply #20 on: October 22, 2008, 06:09:16 pm »
:-) +1p1

and uh... "console" means to me that it should work in tremulous' console :-O
« Last Edit: October 22, 2008, 06:20:50 pm by + OPTIMUS + »
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+