Skip to content

ylixir/elm-mines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data

We will be keeping track of basically two things, the parameters for the next game, and the current game

#The next game board This is basically just the parameters needed to generate a new game

  1. a random seed
  2. gameWidth
  3. gameHeight
  4. bombCount

#The current game board the board will actually be 2 wider and 2 longer than the game size. this allows us to be lazy about literal edge cases. we will define the large area to be the board size and the small area to be the game size

  1. boardWidth
  2. boardHeight
  3. the board, an array of elements containing either a bomb, or a count of neighboring bombs
  4. the tiles, an array of elements containing: plain, exposed, flagged, question

About

simple mine finder thing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published