This is a Minefield game made with React and Redux
Demo Link
Left click to step on a spot Right click to mark a spot as a bomb Click reset to start new game
- Add mine flagging (i.e. a way for users to indicate where they think the mines are)
- Add a timer
- Add some animations (e.g. when uncovering empty regions)
- Add a way for users to choose a difficulty level (e.g. board size and mine count)
- Different numbered cells should be represented by a different color
- Do something fun when the user wins or loses, and show the mines!
- Add unit tests to cover edge cases
- Easy: 9 x 9 + 5 (mine count defaults to 5 for easy testing)
- Medium: 15 x 15 + 40
- Hard: 15 x 25 + 99
cd to directory.
You can run yarn start to start the development application.
You will then be able to access it at localhost:3000.
You can run yarn test to test tart the application.
Supports Redux DevTools Chrome Extension
- Deploy to Heroku
- Refactor empty field logic into separate helper functions
- Add integration and snapshot tests
- Add form input for custom difficulty
- Reset should reset using current difficulty
- Prevent the first click from being a mine
- Reposition flag count to float right
- Add custom emoji to reset button
- Scaling interface for small monitors and mobile
