Skip to content

amarell/mnswp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

If you miss the old Minesweeper game, you've come to the right place. With this code you will be able to run the Minesweeper game in your terminal.

How to start the game

In order to start the game you need to have installed Go programming language on your system.

  1. clone this repository
  2. go to directory where you cloned it
  3. cd cmd && go run .

How to play the game

When the game starts, you will be presented with this view in the terminal:

Alt text

The blue tile is the selected tile. You can move around the minefield using arrow keys or w, a, s, d.

Press r on your keyboard to reveal a tile. Press f to flag a selected tile. And press e to unflag a tile.

Enjoy the game!

Alt text

Controls

  • or W- move up
  • or S- move down
  • or A- move left
  • or D- move right
  • R - reveal selected tile
  • F - flag selected tile
  • E or U - unflag selected tile

About

Minesweeper :o

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages