Skip to content

gracesusanchen/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

This is just an implementation of minesweeper in the console with nodeJS.

Interface

Text inputs and outputs

General logic

  1. Initiate 10x10 grid with 0s
  2. Pick 25 random coords to be mines, populate numbers around them
  3. Allow user to enter coords, check if it is a mine if it is user loses if it isn't, mark the square as revealed and display the value check if it is the last coord to reveal, if it is, user wins

About

Implementation of minesweeper on command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published