Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!