Skip to content

andrew-oxenburgh/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi, I would have liked to have got further with this, but there's actually a fair bit to it.

The styling isn't complete, so you can't really tell how close you got to completion.

As it stands, you can only lose, it never tells you when you've won.

It can be a bit slow when clearing areas, depending on how big the area is, and its shape.

To run:

npm install
npm run build-css
npm start

To deploy on github pages:

npm run deploy

Points:

  1. This project was bootstrapped with Create React App.
  2. Used the canonical React tutorial as a starting point. https://facebook.github.io/react/tutorial/tutorial.html
  3. Uses github as a backup
  4. Don't use anchor with href="#', convert to button
  5. Uses underscores to indicate privacy, just by convention
  6. Didn't have a file per class, as is usually the case
  7. Uses brute force for sending messages to surrounding squares
  8. Uses eslint

Illustrates:

  1. Use of apply and bind, where appropriate
  2. Use of state and props, hopefully correctly
  3. Uses google font, roboto
  4. Uses react refs
  5. Use of js apply and bind
  6. Uses lodash (once)

TODO:

  1. Use jscs
  2. Add some data feed
  3. Add cool animations, similar to what was in the original minesweeper
  4. How do I know I've finished?

About

A clone of the famous MS-Minesweeper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published