https://github.com/andreip/sdl2_playground
https://github.com/andreip/sdl2_playground
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/andreip/sdl2_playground
- Owner: andreip
- Created: 2018-04-17T23:09:20.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T03:30:22.000Z (about 8 years ago)
- Last Synced: 2025-02-12T12:57:00.038Z (over 1 year ago)
- Language: C++
- Size: 253 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Slot machine
---
Slot machine game using [SDL2](https://www.libsdl.org/).
Install
---
```bash
# if on linux I think these should work
$ apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev
# if OSX
$ brew install SDL2 SDL2_image SDL2_mixer
```
Run
---
```bash
$ make
$ ./a.out
```
And then hit "space" to make the slot machine run. Has a nice sound when you win. Just try and see :).
Here's a preview:
