Go to file
_N3m0 fbc4cdfd07 fix: record put new line in record_file 2024-03-18 16:43:10 +01:00
ressources oupsi: add record.png 2024-03-14 09:23:03 +01:00
.gitignore gitignore screenshot 2024-03-13 15:06:25 +01:00
LICENSE info 2024-03-11 12:48:42 +01:00
Makefile introducing release macro 2024-03-14 09:27:48 +01:00
README.md update readme for config 2024-03-18 13:52:08 +01:00
main.c fix: record put new line in record_file 2024-03-18 16:43:10 +01:00

README.md

MINEUR

Minesweeper game.

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

  • q (for azerty) : close app
  • a (for qwerty) : close app
  • escape : close app
  • r : reset grid
  • b : switch to beginner difficulty
  • i : switch to intermediate difficulty
  • e : switch to expert difficulty
  • s : take a screenshot

all of these action can be done with the menu bar

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

Building

You need to install raylib v5, but any version should work.

$ make

or to build in release mode :

$ make release

to run :

$ ./mineur

or

$ make run