Skip to content

zerocukor287/rust_minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Minesweeper

This is a reincarnation of the classic minesweeper game.

screenshot

Key features

  • Minimalistic, command line interface
  • Written in Rust, guaranteed to be extremely memory safe & efficient
  • Stat tracking (defused mines, explosions, safe tiles uncovered)
  • Hints to help you when you're stuck

How to play

After selecting a map size, you need to uncover all the 'safe' tiles. A tile is safe, if it doesn't contain a mine.
To uncover a tile, type its position, like a1 or 57BC. If it was a safe tile then it will show a number, that number is the number of mines in the sorrounding 8 tiles.

If you sure about a tile to be mine, you should can defuse it.
Type def C4 to mark the c 4 tile as a mine without uncovering it, it will show as a .

If you changed your mind, type the same command to remove the defuser from that tile.

If you not sure about a tile, you can place a ? on it.
Type mark f8 to place or remove a ? on the f 8 tile.

When you don't know how to proceed, you can use a hint - it will uncover one random safe tile.
Just type hint.

Don't hesitate, the first tile is never going to be a mine I promise.

Can you clear an XL map?

Can you reveal 500 tiles without exploding?

Try it now!

About

Minesweeper in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages