Skip to content

Chuan-Kuei/react-winmine

Repository files navigation

React-Winmine

Build Status

Classic windows minesweeper game for React.

Installation and usage

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>
  )
}

Props

Name Type Default Description
level String easy easy: 9x9, mine: 10
medium:16x16, mine:40
hard: 30x16, mine:99

License

MIT