casual_mode initial code
This commit is contained in:
parent
cfc4678abd
commit
03d796b87b
1 changed files with 4 additions and 1 deletions
|
@ -10,6 +10,7 @@ const VERSION = "0.3.11";
|
||||||
const MOBILE_BUSY_DELAY = 250;
|
const MOBILE_BUSY_DELAY = 250;
|
||||||
const PC_BUSY_DELAY = 500;
|
const PC_BUSY_DELAY = 500;
|
||||||
const TEST_MODE = false;
|
const TEST_MODE = false;
|
||||||
|
const CASUAL_MODE = false;
|
||||||
|
|
||||||
export const Minesweeper = function() {
|
export const Minesweeper = function() {
|
||||||
const _this = this;
|
const _this = this;
|
||||||
|
@ -257,7 +258,9 @@ export const Minesweeper = function() {
|
||||||
appElement.style.margin = '0 auto';
|
appElement.style.margin = '0 auto';
|
||||||
|
|
||||||
|
|
||||||
|
if (!CASUAL_MODE) {
|
||||||
initializeLeaderBoard();
|
initializeLeaderBoard();
|
||||||
|
}
|
||||||
|
|
||||||
timerService.initialize(timerDisplay);
|
timerService.initialize(timerDisplay);
|
||||||
updateFlagsCountDisplay();
|
updateFlagsCountDisplay();
|
||||||
|
|
Loading…
Reference in a new issue