ROFLbalt - Canabalt inspired ASCII side-scroller in your console

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.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

 
0:00 / 0:00