Skip to content

crespo/half-minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

half-minesweeper

This game was the first game I made, back in 2018, when I was taking C classes. It's based on procedural programming.

Info

It takes notes of how many bombs are on the board, displays the full updated grid of the game board every turn played, every game is a different setup of bombs (made with real random generated numbers) and shows (like a minesweeper game should do) how many bombs are around the position you chose.

My mainly difficulty in this project was to count the bombs around the position players chose, when the position is at any border of the grid.

Testing it

  1. Open OnlineGDB. It's an online C/C++ compiler and debugger.
  2. Copy the game.c code and paste it at the OnlineGDB editor
  3. Click on 'Run' that's sitting at the top of the browser.
  4. Try your luck playing it!

About

Minesweeper game made in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages