Skip to content

nilsding/crash-game

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

crash-game

A clone of an arcade game I enjoyed playing when I was a kid.

Screenshot

This is actually a D port of the original C# code I wrote (never published it though) where I tried out Xamarin and MonoGame. Both frameworks are really nice to work with, but I've been wanting to try out a completely new programming language as well (side-note: while looking for new languages I preferred compiled languages over interpreted ones since I already do a lot of Ruby, which is still my main love ❤️). After a long time of searching, it looks like I finally found a match: D. Oh, and porting the code took about three days.

Anyway, here's instructions on how to build (and run) it:

Requirements

  • DMD 2
  • DUB
  • sdl2, sdl2_image, sdl2_ttf, sdl2_mixer

On macOS you can install these dependencies using homebrew:

brew install dmd dub sdl2 sdl2_image sdl2_ttf sdl2_mixer

Building

Building is easy.

dub build

This should generate a ./crash-game executable in the repo root. Run it!

Bugs

Yes.

About

Some clone of an old arcade game

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages