Thumbnail

rani/games.git

Clone URL: https://git.buni.party/rani/games.git

Browsing tree for branch master, showing 2 entries

TypeFileLast CommitAuthorCommit Date (UTC)Size
txt README.md Add SEED definition for games utilizing rand() rani 17:32, Aug 13 2023 364 B
txt mines.c Re-add global include of time.h rani 17:42, Aug 13 2023 7.98 KiB
README.md

Mines

Minesweeper. Left click reveals a square, right click flags it. f toggles “flag mode” which allows placing a flag on left click as well.

Config

  • Y: Minefield height
  • X: Minefield width
  • MINES: Number of mines
  • HIGHLIGHT_SQUARES: Either true or false. Enables or disables highlighting of number squares
  • SEED: Seed value for PRNG