https://github.com/rasbeetech/myminesweeper_flask
Flask Web Application
https://github.com/rasbeetech/myminesweeper_flask
bootstrap4 flask html5 javascript python
Last synced: 2 months ago
JSON representation
Flask Web Application
- Host: GitHub
- URL: https://github.com/rasbeetech/myminesweeper_flask
- Owner: RasbeeTech
- Created: 2021-03-12T18:07:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-30T03:48:44.000Z (almost 5 years ago)
- Last Synced: 2025-03-20T09:44:04.594Z (over 1 year ago)
- Topics: bootstrap4, flask, html5, javascript, python
- Language: Python
- Homepage:
- Size: 505 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minesweeper-Flask
A simple Web-Application to play Minesweeper created with Flask framework.
## About
Back-end: Python
Front-end: Javascript
## Dependencies
Python version: 3.8.7
Flask version: 1.1.2
Jinja2
HTML5
Javascript
## Sample Images
Start screen | Game play
:-------------------------:|:-------------------------:
 | 
## Minesweeper rules
The rules of the game are fairly simple. Uncover tiles and use indicators to avoid mines. To win, uncover all tiles that do not have mines. The numbered indicators represent the amount of mines in the adjacent tiles.
## How to play
* Left-click: tile to reveal tile.
* Right-click: to flag mine locations.
* Changing difficulty will start a new game
## Run()
To run the application:
1. With your choice of command line interface, navigate to directory containing 'main.py'.
2. Type and enter the following script
```bash
User:$ run(): FLASK_APP=main.py flask run
```
3. Once entered, you should see the following in your CLI:

4. In Google Chrome or your choice of browser, enter 'http://127.0.0.1:5000' into the address bar.
5. Have fun!