| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A Canabalt-inspired sidescroller in ASCII (with ANSI color!) for your console.
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!
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.
# install:
gem install roflbalt
# using rbenv? it rocks.
rbenv rehash
# LOL
roflbaltPress 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.
(or check out the video)
Score: 23432
ROFL:ROFL:LoL:ROFL:ROFL
O/ L ____|__
/| O ===` []\
/ > L \________]
.__|____|__/
==========================================
::::::::::::::::::::::::::::::::::::::::::
::: :: :: :: ::
::: :: :: :: ::
==================== ::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::: ::: :: :: :: ::
:: :: :: ::: :: :: :: ::
:: :: :: ::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::: ::: :: :: :: ::
:: :: :: ::: :: :: :: ::
(c) 2012 Dennis Hotson, Paul Annesley
Open source: MIT license.
| Back | FazBrowse Home | New Git URL |