https://github.com/byteface/minesweeper
minesweep in python
https://github.com/byteface/minesweeper
Last synced: 11 months ago
JSON representation
minesweep in python
- Host: GitHub
- URL: https://github.com/byteface/minesweeper
- Owner: byteface
- License: mit
- Created: 2020-09-27T10:48:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T11:33:40.000Z (over 1 year ago)
- Last Synced: 2025-05-12T04:52:28.761Z (11 months ago)
- Language: Python
- Homepage:
- Size: 407 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Minesweeper
The classic minesweeper game, built to test domonic and fast-api
##### setup
```
python3 -m venv venv
. venv/bin/activate
python -m pip install -r requirements.txt
```
##### running
```
python minesweeper.py
```
## about
- Decisions on users success are made on the server side aysnc.
- Threads are used to speed-up checking the tiles.
- If you make HUGE grid. Increase recursion limit at the top of the file. i.e
```
print(sys.getrecursionlimit())
sys.setrecursionlimit(5000)
```