2024-03-11 12:48:42 +01:00
|
|
|
# MINEUR
|
|
|
|
|
2024-03-25 09:44:11 +01:00
|
|
|

|
|
|
|
|
2024-03-11 12:48:42 +01:00
|
|
|
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-14 14:48:44 +01:00
|
|
|
# Features
|
|
|
|
|
|
|
|
- classic minesweeper
|
|
|
|
- different difficulty (beginner, intermediate, expert)
|
|
|
|
- screenshot
|
|
|
|
- timer / best time
|
|
|
|
|
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
|
2024-03-13 15:01:40 +01:00
|
|
|
- s : take a screenshot
|
2024-03-12 16:21:50 +01:00
|
|
|
|
2024-03-14 14:48:44 +01:00
|
|
|
all of these action can be done with the menu bar
|
|
|
|
|
2024-03-18 13:52:08 +01:00
|
|
|
# Configuration
|
|
|
|
|
|
|
|
You can change the path to the ressource directory, record file and screenshot file name
|
|
|
|
by changing the corresponding macro at the top of [main.c](main.c)
|
|
|
|
|
|
|
|
# Building
|
2024-03-11 12:48:42 +01:00
|
|
|
|
|
|
|
You need to install [raylib v5](https://github.com/raysan5/raylib/releases/tag/5.0), but any version should work.
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ make
|
|
|
|
```
|
|
|
|
|
2024-03-14 14:48:44 +01:00
|
|
|
or to build in release mode :
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ make release
|
|
|
|
```
|
|
|
|
|
|
|
|
to run :
|
2024-03-11 12:48:42 +01:00
|
|
|
|
|
|
|
```console
|
|
|
|
$ ./mineur
|
|
|
|
```
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ make run
|
|
|
|
```
|