Skip to content
JRuby port of Prelude of the Chambered, a Java game
Latest commit 8dae463 Aug 27, 2011 @peterc Added link to another port
Failed to load latest commit information.
escape Fixes to run in 1.9 mode. Aug 26, 2011
.rvmrc rvmrc :) Aug 23, 2011 Added link to another port Aug 27, 2011
escape.rb Initial commit Aug 23, 2011

Prelude of the Chambered (JRuby port)

This is an in-progress JRuby port of notch's 48 hour "Ludum Dare" game competition entry, Prelude of the Chambered.

Notch's Java code is pretty straightforward and I've been looking for an excuse to do a "real" project in JRuby for ages. This seemed an ideal opportunity.

Porting is still in progress but the first few levels of the game are playable (start level, dungeon, overworld, and ice level - no bosses yet).

Controls are W, A, S, D and space. Or arrow keys. To get started, turn around and punch the "broken" wall. Best place to head is along the corridor, to the left, and down into the dungeon. You'll find boulders to punch, magic gloves, and bats to kill down there.


To run this code, get JRuby installed (rvm install jruby?) and then just run (from the root folder):

ruby escape.rb

Known bugs

  • If you take focus away from the game and then come back, the left and right controls stop working


Prelude of the Chambered is a game by Markus "Notch" Persson and Mojang

This JRuby port was started by, and is maintained by, Peter Cooper -

Contributions by:

  • Charles Nutter (@headius)
  • Tim Felgentreff (github:timfel)
  • Andrew Chalkley (@chalkers)

Other links

Romain Lods has been working on a C#-powered .NET port of the game -


Unsure as yet, not sure of the license for the original game.

Original game and content is Copyright 2011 to Mojang so don't use Notch's graphical assets for your own blockbuster hit until he says it's OK :-)

Something went wrong with that request. Please try again.