Skip to content

shobulive/diamond-sweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diamond-Sweeper

A simple game diamond finding game on ReactJS. This project is bootstraped with Create React App.

Preview

Preview

To see and feel what it's like

1. Fork(If you want to improvise, but don't forget to generate a pull request) and star this repo

2. Clone this repo

$ git clone https://github.com/shubham56/diamond-sweeper.git

4. Run the following command in your project directory

$ cd diamond-sweeper

$ npm install

Note: the game board is of N*N size which is set to 8 by default. You can change this value in the ./src/constants.js => SIZE variable

5. How to launch

$ npm run start

open http://localhost:3000/ or http://127.0.0.1:3000/ using your web browser

Other Scripts

$ npm run build -> minify the app for production

$ npm run test -> to run the test cases

$ npm run eject -> to eject this project to cli version

Credits

ReactJS

Create React App.

bootstrap