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

https://github.com/byteface/minesweeper

minesweep in python
https://github.com/byteface/minesweeper

Last synced: 11 months ago
JSON representation

minesweep in python

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)
```