项目作者: amar1995

项目描述 :
A simple javascript game witth object oriented pattern
高级语言: JavaScript
项目地址: git://github.com/amar1995/minesweeper_game.git
创建时间: 2019-08-22T00:28:01Z
项目社区:https://github.com/amar1995/minesweeper_game

开源协议:

下载


Minesweeper Game

A javascript game with object oriented pattern, also tried to use algorithm and data-structure to make it more effective.
Design pattern used are modular pattern, singleton pattern.

Algorithm used dfs for traversal.

Data-Structure used stack.

Prerequisite

  1. Your local system must have node installed

Running instruction

Step1: Clone repository in your local environment.

Step2: Run npm install.

Step3: Run npm start to launch the application.

Limitation

  1. Only Work in pc
  2. Slow for very large grid like 30*30
  3. Maximum grid kept of size 50*50
  4. Not secure as all code runs in front-end.

Note: Try to use medium size of grid for better experience. (e.g, 7*8, 10*10, 15*10)