Skip to content

cjohansen/minesweeper-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper UI

UI code for the classic game of Minesweeper. All that's missing is an implementation of the actual game rules.

To make this project do anything useful, implement the Minesweeper game, and hook it in by first installing it as a dependency:

npm install --save my-minesweeper-core

Then edit index.js. Fix the first line by importing from the correct module (e.g. fill in the name of your module):

import {createGame, revealTile, isGameOver} from 'your-minesweeper';

Then bask in the glory of a fully functional game of Minesweeer, courtesy of you:

npm start

Visit http://localhost:9965

You can even verify with the (moderately comprehensive) test suite:

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published