Skip to content

patty111/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clickable Minesweeper

Further explain
An easy little game to practice c++ and ansi escape(VT-100)

No ncurses.

TODO

  • Fix the input issue, currently it only works on minefield smaller than $9 * 9$.
  • Add some decorations

Left click on grid to reveal.
Right click on grid to set flag, click on existing flag to disable it.

game running

Running

Should work well on any terminal supporting color display and can listen to mouse clicks.

  • Linux terminal should be fine
  • Using Mac OS default terminal will have some minor issues

Colorful Mine Sweeper

  1. Choose difficulty and start the game

  1. Using ansi escape, input -1 -1 for flagging

  1. Lose when you open a mine

  1. Flag all mines correctly to win the game

Running

Can run on any terminal supporting color display.