blob: 4f012baf834202b5147ed3994c50a22bb8034f0f (
plain)
1
2
3
4
5
6
7
8
|
#include "constants.h"
const int BORDEROFFSET = 10;
const int GRIDWIDTH = 200;
const int GRIDHEIGHT = 200;
const int SQUARESIZE = 20;
const int NUMBEROFCELLS = ((GRIDWIDTH*GRIDHEIGHT)/SQUARESIZE)/SQUARESIZE;
const int NUMBEROFMINES = NUMBEROFCELLS/SQUARESIZE*1.5;
|