r/ruby • u/smeelsLikeFurts • Oct 07 '26
Show /r/ruby Rai*bert: a Q*bert-inspired arcade game running Ruby in the browser
I've been working on Rai*bert, a Q*bert-inspired arcade game where you hop around turning failing build tiles green while dodging bugs and regressions.
The game rules run in Ruby 4. The desktop version uses Gosu; the browser version runs Ruby through WebAssembly, with Canvas rendering and Web Audio. There are 20 stages, three difficulty settings, keyboard and touch controls, and a shared leaderboard. It's free to play, with no account needed.
Play: https://raibert.lol/
Source: https://github.com/cdimartino/raibert
The clip is a montage recorded with the game's autoplay mode. I'd appreciate feedback on the controls and difficulty, especially on mobile. If you try it, let me know which stage you reached and what difficulty you picked.
3
u/Tiny-Judgment2523 Oct 07 '26
hi, i tried your game. when i failed/lost it jumped be straight to leaderboard and i didnt really know why. kinda happened fast and didnt get much feedback about my game being over.
pressing retry on the leaderboard just relooads the leaderboard.
the controls of QAED are kinda awkward to get where thats going to move me, i think a diamnond of keys on my keyboard might suit better. i wonder if QSDR might be easier. anyway - like your character.
2
u/smeelsLikeFurts Oct 07 '26
Note - you can play it from the CLI as well natively.
2
u/TailorSubstantial863 Oct 07 '26
One beef is the spaceships, like the original q*bert, I thought they were a "return to top" mechanism, nope...they are nothing and I jumped off the edge! *eek*
Otherwise, pretty awesome. Made it to the 3rd or 4th level on my first play. Nice job.
1
u/blowmage Oct 07 '26
This is fantastic. Congrats on shipping!
1
u/riffraff Oct 07 '26
I cannot understand this
LEFT/A RIGHT/D TO CHOOSE // RETURN TOO BOOT
what does the // mean? is "TO CHOOSE" associated to D or to // ?
after staring at it a lot I think you meant
A->LEFT ; D-> RIGHT ; RETURN -> START
1
u/cocotheape Oct 08 '26
This is fun and the Ruby is cute.