Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ultimatedoge5/minesweeper
Minesweeper clone wrote in typescript using vite and react.
https://github.com/ultimatedoge5/minesweeper
minesweeper minesweeper-game react typescript vite
Last synced: 12 days ago
JSON representation
Minesweeper clone wrote in typescript using vite and react.
- Host: GitHub
- URL: https://github.com/ultimatedoge5/minesweeper
- Owner: UltimateDoge5
- License: mit
- Created: 2021-03-13T14:20:46.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-17T09:27:56.000Z (over 1 year ago)
- Last Synced: 2024-11-10T19:52:29.012Z (2 months ago)
- Topics: minesweeper, minesweeper-game, react, typescript, vite
- Language: TypeScript
- Homepage: https://mines.pkozak.org/
- Size: 5.52 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Minesweeper
This is a simple implementation of the classic game Minesweeper. It is written in TypeScript and uses React for the UI and Vite for bundling.
You can play it by clicking [here](https://mines.pkozak.org/).## About
This project was redone from scratch in React and Vite. This version is much cleaner and more modular. I also added a few features that were not in the original version like first-click safety.
I've returned to this project as I wanted to play minesweeper during boring lessons at school and want to make it a PWA, so I can play it offline.
**_(And it was ugly)_**### Missing Features
- Unsolvable board detection - There is a chance that the board will be unsolvable. I have not implemented a way to detect this yet.
- ~~Sound effects~~
- ~~PWA offline support~~
- Animations?## Credits and resources
- A [paper](https://dspace.cvut.cz/bitstream/handle/10467/68632/F3-BP-2017-Cicvarek-Jan-Algorithms%20for%20Minesweeper%20Game%20Grid%20Generation.pdf?sequence=-1&isAllowed=y) on board generation by Jan Cicvárek
- Big thanks to [Karol Walterowicz](https://www.instagram.com/tytikar/) for making sounds!