Skip to content

therappha/minesweeper_minilibx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕵️ Minesweeper (42 MiniLibX)

This is a Minesweeper game built using the MiniLibX library from 42 School.
The project is an adaptation of my previous terminal_minesweeper, but now I remade it as a learning experience with MiniLibX and currently works only on Linux.
When you win or lose it only shows a message in terminal and does nothing, you need to manualy close!


📥 Clone the Repository

git clone --recursive https://github.com/therappha/minesweeper_minilibx.git

🛠️ Build the Project

make

🎮 Run the Game

./game <board width> <board height> <number of bombs>

Example:

./game 10 10 10

This command will start a 10x10 board with 10 bombs.


🏗️ Dependencies

  • Linux OS (currently required)
  • MiniLibX (included as a submodule)
  • Make & GCC for compilation

⚠️ Notes

  • Only tested on Linux.
  • Ensure you have MiniLibX dependencies installed.

About

A game made using the minilibx library!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published