ANN: Boulder Dash in OCaml
Andreas Rossberg <[email protected]>
| Newsgroups | gmane.comp.lang.caml.inria |
|---|---|
| Message-ID | <[email protected]> |
Boulder Dash(*) was my favourite computer game in the 8-bit era, first released on the Atari 400/800 in 1984. Though I never owned an 8-bit machine myself, I had friends that I annoyed enough to let me play it on theirs.
As a homage to its 40th anniversary, I put together a fairly faithful clone of the original game, implemented in just a few 100 lines of bare OCaml, with nothing but the homely Graphics library. It should run on Windows, Mac, and Linux, though I was too lazy to test the latter.
Features:
• Faithful original physics, graphics, and animations
• Authentic scrolling mechanics combined with dynamic window resizing
• All 20 levels, including intermissions, and 5 difficulties
• Pause-and-go mode for relaxed playing
It is open-source here:
https://github.com/rossberg/boulder-dash
Enjoy!
/Andreas
(*) https://en.wikipedia.org/wiki/Boulder_Dash_(video_game)
"Boulder Dash" is a trademark of BBG Entertainment