I ported Notch's Miners4k from Java to D during a few lunch breaks in summer 2017. I finished the "game" parts, but haven't attempted to port the UI.
- Finish UI port
- Fix byte order issue in the sprites
- Make the code more idiomatic D instead of a direct port
- Get this working on Windows and Linux. It should work already, but I haven't tested it.
- The original java code is attached for reference
- The resulting D binary is greater than 4k in size. ;)
First, install a D compiler.
Then build with dub
# dub build -b release --compiler=ldc2
Left click and drag to create dirt. Right click and drag to remove dirt. Try to pile the gold at the top of the level.