diff --git a/README.md b/README.md index 553dd61..5b21a33 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,7 @@ This game include Lode Runner (150 Levels) & Championship Lode Runner -### [PLAY](http://goo.gl/KgmXhh) - +### PLAY simonsays-tw.com/web/lodeRunner/game/lodeRunner.html ------------------------------------ diff --git a/lodeRunner.def.js b/lodeRunner.def.js index 9574c02..74e1c09 100644 --- a/lodeRunner.def.js +++ b/lodeRunner.def.js @@ -1,4 +1,4 @@ -var VERSION = "0.99m"; +var VERSION = "0.99n"; var AI_VERSION = 1; var NO_OF_TILES_X = 28, diff --git a/lodeRunner.key.js b/lodeRunner.key.js index 62cc6f8..9345956 100644 --- a/lodeRunner.key.js +++ b/lodeRunner.key.js @@ -12,6 +12,12 @@ function pressShiftKey(code) case KEYCODE_COMMA: //SHIFT-, = '<', change to previous level shiftLevelNum = 1; gameState = GAME_PREV_LEVEL; + break; + case KEYCODE_UP: //SHIFT-UP, inc runner + if(runnerLife < 10) { + runnerLife++; + drawLife(); + } break; default: if(runnerDebug) debugKeyPress(code); @@ -89,12 +95,6 @@ function debugKeyPress(code) shiftLevelNum = 50; gameState = GAME_PREV_LEVEL; break; - case KEYCODE_UP: //SHIFT-UP, inc runner - if(runnerLife < 10) { - runnerLife++; - drawLife(); - } - break; } }