add features in readme
This commit is contained in:
parent
8a2ac7fb89
commit
de70053c43
17
README.md
17
README.md
|
@ -4,6 +4,13 @@ Minesweeper game.
|
||||||
|
|
||||||
Oh no, my os doesn't comme with minesweeper preinstalled, let's make it myself.
|
Oh no, my os doesn't comme with minesweeper preinstalled, let's make it myself.
|
||||||
|
|
||||||
|
# Features
|
||||||
|
|
||||||
|
- classic minesweeper
|
||||||
|
- different difficulty (beginner, intermediate, expert)
|
||||||
|
- screenshot
|
||||||
|
- timer / best time
|
||||||
|
|
||||||
# Keybind
|
# Keybind
|
||||||
|
|
||||||
- q (for azerty) : close app
|
- q (for azerty) : close app
|
||||||
|
@ -15,6 +22,8 @@ Oh no, my os doesn't comme with minesweeper preinstalled, let's make it myself.
|
||||||
- e : switch to expert difficulty
|
- e : switch to expert difficulty
|
||||||
- s : take a screenshot
|
- s : take a screenshot
|
||||||
|
|
||||||
|
all of these action can be done with the menu bar
|
||||||
|
|
||||||
# building
|
# building
|
||||||
|
|
||||||
You need to install [raylib v5](https://github.com/raysan5/raylib/releases/tag/5.0), but any version should work.
|
You need to install [raylib v5](https://github.com/raysan5/raylib/releases/tag/5.0), but any version should work.
|
||||||
|
@ -23,7 +32,13 @@ You need to install [raylib v5](https://github.com/raysan5/raylib/releases/tag/5
|
||||||
$ make
|
$ make
|
||||||
```
|
```
|
||||||
|
|
||||||
to run
|
or to build in release mode :
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ make release
|
||||||
|
```
|
||||||
|
|
||||||
|
to run :
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ ./mineur
|
$ ./mineur
|
||||||
|
|
2
main.c
2
main.c
|
@ -31,7 +31,7 @@ char zero[16][30] = {0};
|
||||||
|
|
||||||
// I confused myself with game type, mode and diff, but it all mean the same
|
// I confused myself with game type, mode and diff, but it all mean the same
|
||||||
typedef enum GameType {
|
typedef enum GameType {
|
||||||
BEGINNER,
|
BEGINNER = 0,
|
||||||
INTERMEDIATE,
|
INTERMEDIATE,
|
||||||
EXPERT,
|
EXPERT,
|
||||||
GAME_TYPE_NB,
|
GAME_TYPE_NB,
|
||||||
|
|
Loading…
Reference in New Issue