https://github.com/nilsding/crash-game
Some clone of an old arcade game
https://github.com/nilsding/crash-game
dgame dlang game learning-by-doing
Last synced: about 1 year ago
JSON representation
Some clone of an old arcade game
- Host: GitHub
- URL: https://github.com/nilsding/crash-game
- Owner: nilsding
- License: other
- Created: 2017-06-15T16:31:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-17T11:57:42.000Z (almost 9 years ago)
- Last Synced: 2025-03-31T09:34:43.539Z (about 1 year ago)
- Topics: dgame, dlang, game, learning-by-doing
- Language: D
- Size: 2.32 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# crash-game
[](https://code.dlang.org/packages/crash-game)
A clone of an arcade game I enjoyed playing when I was a kid.

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:
``` sh
brew install dmd dub sdl2 sdl2_image sdl2_ttf sdl2_mixer
```
## Building
Building is easy.
``` sh
dub build
```
This should generate a `./crash-game` executable in the repo root. Run it!
## Bugs
Yes.
[Xamarin]: https://www.xamarin.com/
[MonoGame]: http://www.monogame.net/
[Ruby]: https://ruby-lang.org
[D]: https://dlang.org