Skip to content

JonathanGerlach/miners4kInD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miners4k in D

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.

TODO

  • 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.

Note

  • The original java code is attached for reference
  • The resulting D binary is greater than 4k in size. ;)

How to build

First, install a D compiler. Then build with dub

# dub build -b release --compiler=ldc2

How to play

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.

About

A port of Notch's Miners4k from Java to D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published