Cocaine Holiday |
shit on teh webs worth snortn |
UPDATE: I neglected to credit Dennis Hotson in the original post. This has been corrected below.
While definitely silly, don’t write this Canabalt clone off as pointless. When I stumbled across ROFLbalt, a text-mode side-scroller from Paul Annesley and Dennis Hotson last night, I started to write it up for The Changelog but got sucked into the source. It’s fascinating to see Ruby-based text sprites:
class RoflCopter include Renderable def initialize x, y, background @x, @y = x, y @background = background @frames = [ [ ' :LoL:ROFL:ROFL', ' L ____|__ ', ' O ===` []\ ', ' L \________] ', ' .__|____|__/ ', ], [ ' ROFL:ROFL:LoL: ', ' ____|__ ', ' LOL===` []\ ', ' \________] ', ' .__|____|__/ ', ], ] end ...Go ahead and clone the source and give it a go in your terminal, but be sure and peruse the code and discover some nifty Ruby.
ASCII shoot-em-ups through...console, written...Ruby with...