Roflbalt
Canabalt inspired ASCII side-scroller in your console. #railscamp
Install / Use
/learn @pda/RoflbaltREADME
ROFLBALT
A Canabalt-inspired sidescroller in ASCII (with ANSI color!) for your console.
WTF?
It's built by Paul Annesley (@pda)
and Dennis Hotson (@dennishotson)
with < 500 lines of Ruby, no dependencies;
it just uses print and raw xterm-256color escape codes.
We wrote it at Rails Camp X in two days, pair programming over SSH with a shared tmux/vim session. As such, ~50% of the commits labelled Paul were actually Dennis!
Requirements
Ruby 1.9. It doesn't work with Ruby 1.8, but I'm sure somebody could easily fix that...
You'll need a terminal with 256 color support and at least 120 columns by 40 rows of text.
- For Mac OS X we highly recommend iTerm2, but if you're running Lion (or newer?) you can use the default Terminal.app.
- For Windows, I imagine PuTTY is still the thing to use.
- For GNU/Linux etc, use xterm!
Instructions
# install:
gem install roflbalt
# using rbenv? it rocks.
rbenv rehash
# LOL
roflbalt
Press any key to jump! If you can't find the any key, try the spacebar.
And of course, ctrl-c to exit.
If your terminal isn't quite right afterwards, try running reset to get it back to normal.
There's an issue open for this.
"Screenshot"
(or check out the video)
Score: 23432
ROFL:ROFL:LoL:ROFL:ROFL
O/ L ____|__
/| O ===` []\
/ > L \________]
.__|____|__/
==========================================
::::::::::::::::::::::::::::::::::::::::::
::: :: :: :: ::
::: :: :: :: ::
==================== ::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::: ::: :: :: :: ::
:: :: :: ::: :: :: :: ::
:: :: :: ::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::: ::: :: :: :: ::
:: :: :: ::: :: :: :: ::
License
(c) 2012 Dennis Hotson, Paul Annesley
Open source: MIT license.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
