Torus Trooper

Started by Melbosa, July 19, 2006, 09:54:47 AM

Previous topic - Next topic

Melbosa

Simple, small (6MB) game, spaceship shooter.  Interesting what you can cram into a small footprint.

http://www.fileplanet.com/147659/140000/fileinfo/Torus-Trooper-%5BFree-Game%5D
Sometimes I Think Before I Type... Sometimes!

Darren Dirt

#1
Quote from: Melbosa on July 19, 2006, 09:54:47 AM

Interesting what you can cram into a small footprint.


Speaking of small footprints...


Ironically, I just finished tweaking something that I believe is the smallest possible "rot13" implementation in Javascript:

147 characters (including the name "function rot13(s)")



function rot13(s){return s.replace(/[a-z]/gi,function(c)
{var n=c.charCodeAt(0);return String.fromCharCode(n<91?65+((n-52)%26):97+((n-84)%26));});};



^ aren't "callback functions" cool? ;D (i.e. "function(c){...}")


...also thanks to Mr. Analog guess what continually-resurrected little personal project I started again from scratch?

Yup, http://squisher.homeip.net/projects/scriptsquisher/ -- this time is the final time, I swear :o
_____________________

Strive for progress. Not perfection.
_____________________

Darren Dirt

#2
Quote from: Darren Dirt on July 19, 2006, 10:01:30 AM

...also thanks to Mr. Analog guess what continually-resurrected little personal project I started again from scratch?

Yup, http://squisher.homeip.net/projects/scriptsquisher/ -- this time is the final time, I swear :o


"Beta" available

http://squisher.homeip.net/projects/scriptsquisher/July2006BETA.html

doesn't do name replacing yet -- but it DOES beautifully handle the typical <html> ... <script 1>...</script> ... more html ... <script 2> ... </script> (with AND without the "<!-- //-->" around the script sections for older browsers...

have fun trying to break it Mr. A... ;D




- - -

http://squisher.homeip.net/projects/scriptsquisher/July2006BETA2.html <-- does a bit of "space removal", testing phase for now...


_____________________

Strive for progress. Not perfection.
_____________________