Classic windows minesweeper game for React.
npm install react-winmine
And then
import React from "react";
import WinMine from "react-winmine";
import "react-winmine/lib/react-winmine.css";
render() {
return (
<div>
<WinMine />
</div>
)
}
Name | Type | Default | Description |
---|---|---|---|
level | String | easy | easy: 9x9, mine: 10 medium:16x16, mine:40 hard: 30x16, mine:99 |