Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kunish/minesweeper
Building a Minesweeper Game from scratch
https://github.com/kunish/minesweeper
game-development
Last synced: 2 days ago
JSON representation
Building a Minesweeper Game from scratch
- Host: GitHub
- URL: https://github.com/kunish/minesweeper
- Owner: kunish
- License: mit
- Created: 2020-08-22T08:59:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-19T01:42:03.000Z (about 3 years ago)
- Last Synced: 2024-11-14T16:48:11.074Z (2 months ago)
- Topics: game-development
- Language: JavaScript
- Homepage:
- Size: 628 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# minesweeper
Building a Minesweeper Game from scratch
#### CURRENT STATUS:
![screenshot](./screenshots/2020-08-22.png)
### TODO:
#### Development
- [ ] Support Typescript
- [ ] Module system(such as DI, css module, etc..)
- [ ] Render using Framework(such as React) instead of vanilla js
- [ ] Separate game logic into its own module(GameService.ts, StatService.ts, Map.ts, Cell.ts, Container.ts)#### Feature
- [ ] Game stat(Time, Score)
- [ ] Multiple Theme
- [ ] Audio
- [ ] Feature toggle(You can toggle a feature on and off, such as Clock and Audio, they are annoying sometimes)#### Optimize
- [ ] Game logic
### How to play
1. Clone this repo
```bash
git clone https://github.com/kunish/minesweeper.git
```2. Install dependencies
```bash
yarn
```or
```bash
npm i
```3. Start a local service
```bash
yarn start
```or
```bash
npm run start
```4. Game time!!!
### Contributing
PRs are welcome 🤲