A Breakout prototype, for exploring haskell game dev. This was one of my first Haskell projects, in 2007, now updated in 2020.
Features
- Runs on Windows, Mac, Unix (requires SDL 2 and GHC 8.10+)
- Standalone Executable (all assets included)
- 500 lines of Simple Haskell
- A Bat
- A Bouncing Ball
- Sound Effects
- High Score
- Pause
Install
- Install all of the main SDL 2 libs for your system (1, 2).
Eg on mac:
brew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_ttf
(but I'm having trouble with this on m1..) gh repo clone simonmichael/breakout
cd breakout
stack run
Goals
While it continues... this project's goals are:
- Provide amusement and re-creation for myself
- Research, learn, uplevel my [haskell] game dev powers
- Experiment with tools, techniques, architectures, practices
- Minimise toil, maximise fun
Help
I'm glad to receive your feedback or help via the #haskell-game chat channel. Access it with an IRC or Matrix client.
There is no issue tracker and no email support. Pull requests may or may not get merged, at my discretion. Forks, complementary experiments, and non-costly collaboration are welcome. (Minimise toil)
There's a CHANGELOG.md and a rough TODO.md.