https://github.com/hadron13/squareroot-mining
My second Ludum Dare(48) game
https://github.com/hadron13/squareroot-mining
c ludum-dare sdl2
Last synced: about 2 months ago
JSON representation
My second Ludum Dare(48) game
- Host: GitHub
- URL: https://github.com/hadron13/squareroot-mining
- Owner: hadron13
- License: mit
- Created: 2021-04-28T12:35:47.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-28T18:58:50.000Z (about 5 years ago)
- Last Synced: 2025-07-08T01:57:02.990Z (12 months ago)
- Topics: c, ludum-dare, sdl2
- Language: C
- Homepage:
- Size: 5.71 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Squareroot mining
## my second Ludum Dare 48 entry for jam
## [Ludum dare submission](https://ldjam.com/events/ludum-dare/48/squareroot-mining)
# compiling
* ## before compiling:
1. ### create build-windows / linux directory and 'assets' directory inside
2. ### copy game assets to it (or use transfer.sh)
* ## dependencies:
* ### SDL2
* ### SDL2_image
* ### SDL2_mixer
* ## Windows (Mingw-w64)
` gcc source\main.c -D WINDOWS_BUILD -o build-windows\game.exe -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_mixer`
* ## Linux (gcc)
`gcc source/main.c -D LINUX_BUILD -o build-linux/game.program -lSDL2main -lSDL2 -lSDL2_image -lSDL2_mixer -lm`