2024-03-11 12:48:42 +01:00
|
|
|
# MINEUR
|
|
|
|
|
|
|
|
Minesweeper game.
|
|
|
|
|
2024-03-11 18:05:06 +01:00
|
|
|
Oh no, my os doesn't comme with minesweeper preinstalled, let's make it myself.
|
|
|
|
|
2024-03-12 16:21:50 +01:00
|
|
|
# Keybind
|
|
|
|
|
2024-03-12 16:33:21 +01:00
|
|
|
- q (for azerty) : close app
|
|
|
|
- a (for qwerty) : close app
|
|
|
|
- escape : close app
|
2024-03-12 16:21:50 +01:00
|
|
|
- r : reset grid
|
|
|
|
- b : switch to beginner difficulty
|
|
|
|
- i : switch to intermediate difficulty
|
|
|
|
- e : switch to expert difficulty
|
|
|
|
- s : take a screenshot (not working everywhere, not sure why)
|
|
|
|
|
2024-03-11 12:48:42 +01:00
|
|
|
# building
|
|
|
|
|
|
|
|
You need to install [raylib v5](https://github.com/raysan5/raylib/releases/tag/5.0), but any version should work.
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ make
|
|
|
|
```
|
|
|
|
|
|
|
|
to run
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ ./mineur
|
|
|
|
```
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ make run
|
|
|
|
```
|