mineblower's Introduction
mineblower's People
Forkers
pixelbmineblower's Issues
First click is never a bomb
To avoid needless obstacles in starting the game.
screenshots would be really useful
It would be great to update README.md to display a screenshot
This would be useful for users, and also to see the result of corresponding code changes over time
Grid size option
Gives players control of what size they want the grid to be.
Shows how many mines are left.
Support themes
For example flowers and bees for flags and mines (Maybe with a yellow based colour).
Auto set window size to field size at startup
Levels?!?
should disallow right click when game over
Auto clear squares with no surrounding mines
This will avoid mindless clicking and make the game more enjoyable.
Correctly flagged mines should be distinguished upon hitting a mine
Currrently when you hit a mine, all mines get a dark gray background.
It would be good to distinguish correctly flagged mines as follows:
diff --git a/Mine Blower.py b/Mine Blower.py
index fd8dd86..b1c5524 100644
--- a/Mine Blower.py
+++ b/Mine Blower.py
@@ -19,8 +19,11 @@ def square_to_widget(row, column):
def square_open(r, c, text, auto=True):
tk_square = square_to_widget(r, c)
if text == death:
+ square_text = tk_square.cget("text")
if auto == False:
bg = "red"
+ elif warning in square_text:
+ bg = "light blue"
else:
bg = "#808080"
else:
should support keyboard shortcuts
For increased flexibility and accessibility.
It would be good to use the same bindings as for minesweeper:
Arrow keys move the cursor one square at a time. Hit [Enter] to click, press 1 to flag and [Shift][Enter] to middle click (auto clear clicked numbers). It is also possible to use [Spacebar] to click, [Shift][Spacebar] to flag or middle click. In all versions [F2] starts a new game
Use a consistent number of mines
fix determination of end of game
Currently if all no mine squares have been cleared the game finishes.
It should finish when all squares have been flagged or cleared.
Sound effects
This will make the game entertaining
Right clicking a square places a flag
This is to make sure you don't press the bomb by an accident after knowing it's clear.
Start timer only after first click
A high score
Gives players a goal to beat.
A clock symbol beside the timer
Put a clock symbol beside the timer โฑ
consider only using time as the score
Auto clear non flagged squares when clicking a number
If you've flagged all mines surrounding a revealed square,
then auto clear the remaining surrounding squares
when clicking the number
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.