summaryrefslogtreecommitdiff
path: root/constants.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'constants.cpp')
-rw-r--r--constants.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/constants.cpp b/constants.cpp
index 41d7a24..4f012ba 100644
--- a/constants.cpp
+++ b/constants.cpp
@@ -2,6 +2,7 @@
const int BORDEROFFSET = 10;
const int GRIDWIDTH = 200;
-const int GRIDHEIGHT = 600;
+const int GRIDHEIGHT = 200;
const int SQUARESIZE = 20;
const int NUMBEROFCELLS = ((GRIDWIDTH*GRIDHEIGHT)/SQUARESIZE)/SQUARESIZE;
+const int NUMBEROFMINES = NUMBEROFCELLS/SQUARESIZE*1.5;