https://github.com/hcarty/shatter
A block breaking game
https://github.com/hcarty/shatter
Last synced: about 1 year ago
JSON representation
A block breaking game
- Host: GitHub
- URL: https://github.com/hcarty/shatter
- Owner: hcarty
- License: mit
- Created: 2020-12-28T21:34:09.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-09-05T21:59:20.000Z (almost 4 years ago)
- Last Synced: 2025-03-23T19:39:15.240Z (about 1 year ago)
- Language: OCaml
- Size: 992 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# shatter - a block breaking game
Shatter is a block breaking game written in OCaml using the
[Orx](https://orx-project.org/) game engine.
The game was written primarily to play with visual effects in Orx.

## Building and running the game
1. Install Orx, following the instructions on the [wiki](https://wiki.orx-project.org/).
1. You will need opam and OCaml version 4.10.0 or newer.
1. Pin [ocaml-orx](https://github.com/orx/ocaml-orx) with opam:
```
opam pin add orx git+https://github.com/orx/ocaml-orx.git#master
```
1. Build and run the game with `dune`
```
dune exec src/shatter.exe`
```
## Controls
- Left/right arrows or `A`/`D` keys to move the paddle
- `Esc`ape key to quit