The classic minesweeper game, built to test domonic and fast-api
python3 -m venv venv
. venv/bin/activate
python -m pip install -r requirements.txt
python minesweeper.py
-
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)