/shatter

A block breaking game

Primary LanguageOCamlMIT LicenseMIT

shatter - a block breaking game

Shatter is a block breaking game written in OCaml using the Orx game engine.

The game was written primarily to play with visual effects in Orx.

Gameplay example

Building and running the game

  1. Install Orx, following the instructions on the wiki.
  2. You will need opam and OCaml version 4.10.0 or newer.
  3. Pin ocaml-orx with opam:
    opam pin add orx git+https://github.com/orx/ocaml-orx.git#master
    
  4. Build and run the game with dune
    dune exec src/shatter.exe`
    

Controls

  • Left/right arrows or A/D keys to move the paddle
  • Escape key to quit