58 lines
1.5 KiB
Markdown
58 lines
1.5 KiB
Markdown
|
# Minesweeper
|
||
|
|
||
|
## Summary
|
||
|
|
||
|
This web part is the classic game Minesweeper, put in a Fluent UI powered SPFx web part!
|
||
|
|
||
|
![Minesweeper](./assets/Minesweeper.gif)
|
||
|
|
||
|
## Used SharePoint Framework Version
|
||
|
|
||
|
![1.10.0](https://img.shields.io/badge/version-1.10.0-green.svg)
|
||
|
|
||
|
## Applies to
|
||
|
|
||
|
* [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
|
||
|
* [Office 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
|
||
|
|
||
|
## Prerequisites
|
||
|
|
||
|
None.
|
||
|
|
||
|
## Solution
|
||
|
|
||
|
Solution|Author(s)
|
||
|
--------|---------
|
||
|
react-minesweeper | [Pieter Heemeryck](https://twitter.com/heemeryckpieter)
|
||
|
|
||
|
## Version history
|
||
|
|
||
|
Version|Date|Comments
|
||
|
-------|----|--------
|
||
|
1.0|July, 2020|Initial release
|
||
|
|
||
|
## Disclaimer
|
||
|
|
||
|
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
||
|
|
||
|
---
|
||
|
|
||
|
## Minimal Path to Awesome
|
||
|
|
||
|
* Clone this repository
|
||
|
* in the command line run:
|
||
|
* `npm install`
|
||
|
* `gulp serve`
|
||
|
|
||
|
## Features
|
||
|
|
||
|
* Difficulties: Beginner, Intermediate, Expert
|
||
|
* High scores are stored in localStorage
|
||
|
* Mine mode / flag mode (swap left & right click), useful on mobile
|
||
|
* [Chording](http://www.minesweeper.info/wiki/Chord)
|
||
|
|
||
|
This Web Part illustrates the following concepts on top of the SharePoint Framework:
|
||
|
|
||
|
* [Fluent UI](https://developer.microsoft.com/en-us/fluentui#/)
|
||
|
|
||
|
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-minesweeper" />
|