/minesweeper

Exploring graphs

Primary LanguageJavaScriptMIT LicenseMIT

minesweeper

Exploring graphs

roadmap

  1. create the core game object w/:
  • game state
    • win/loss record
    • options
      • grid dimensions
      • number of mines
      • time limit on
      • time limit
  • tiles
    • swept/hidden status
    • mine status
  • random mine generation
  • public methods
    • init
      • loading screen/trigger openMenu
    • openMenu
      • menu screen
    • play
      • generates grid
      • switches view to game screen
    • sweepTile
    • endGame
      • opens score-view/play-again/options modal
  1. Create view using React