Skip to content

frankitox/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Minesweeper

This a little code challenge that I took a while ago.

Playing Minesweeper

You can check it out live here.

What you can do:

  • Multiplayer capability.
  • It can persist the user preferences.
  • You can see the history of games played order by difficulty and time.
  • Build your custom grid.

Multiplayer capability

You can set the amount of players you want. Once a player uncovers a square, then is the next player's turn. But, it only makes real sense to have two players at most. If not, you're just determining who didn't won.

It can persist user preferences

Simply by storing all the state serialized in localStorage through a middleware called storeStateMiddleware that you can find in src/storage.js.

What can be enhanced?

  • Use web workers to allow offline capability.
  • Do coverage testing.

About

Minesweeper game implemented in React + Redux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published