Live @ https://mjamilfarooq.github.io/minesweeperbuild/
- MinerApp a containr for main components.
- MediaQuery for responsiveness.
- MineField a field with mines.
- Field individual fields.
- FieldContent model the Content to be displayed for each field.
- ControlPanel to implement restart & done functionality as well as showing result.
- Timer to update clock on the control panel.
- FieldData contains main structure and functionality of the game. Initializing state of the game board is also part of the model.
- Events is an enum containing all the relevant event throws by the game.
- Actions define what happens on user click and other event.
Store contains reducer to dispatch event for particular action in case of the particular event.