Spaces:
Running
Running
cutechicken
commited on
Update index.html
Browse files- index.html +1 -5
index.html
CHANGED
@@ -150,6 +150,7 @@
|
|
150 |
canvas.width = window.innerWidth;
|
151 |
canvas.height = window.innerHeight;
|
152 |
// Game state
|
|
|
153 |
let currentRound = 1;
|
154 |
let gameOver = false;
|
155 |
let currentWeapon = 'cannon';
|
@@ -169,11 +170,6 @@
|
|
169 |
let lastJU87Spawn = 0; // λ§μ§λ§ JU-87 μμ± μκ°
|
170 |
let supportUnits = []; // μ§μ μ λ λ°°μ΄
|
171 |
let lastSupportSpawn = 0; // λ§μ§λ§ μ§μ μ λ μμ± μκ°
|
172 |
-
let currentStage = 1; // μΆκ°
|
173 |
-
let currentRound = 1;
|
174 |
-
let gameOver = false;
|
175 |
-
let currentWeapon = 'cannon';
|
176 |
-
// ... λλ¨Έμ§ μνλ€
|
177 |
// Load assets
|
178 |
const backgroundImg = new Image();
|
179 |
backgroundImg.src = 'city.png';
|
|
|
150 |
canvas.width = window.innerWidth;
|
151 |
canvas.height = window.innerHeight;
|
152 |
// Game state
|
153 |
+
let currentStage = 1; // μ€ν
μ΄μ§ μΆκ°
|
154 |
let currentRound = 1;
|
155 |
let gameOver = false;
|
156 |
let currentWeapon = 'cannon';
|
|
|
170 |
let lastJU87Spawn = 0; // λ§μ§λ§ JU-87 μμ± μκ°
|
171 |
let supportUnits = []; // μ§μ μ λ λ°°μ΄
|
172 |
let lastSupportSpawn = 0; // λ§μ§λ§ μ§μ μ λ μμ± μκ°
|
|
|
|
|
|
|
|
|
|
|
173 |
// Load assets
|
174 |
const backgroundImg = new Image();
|
175 |
backgroundImg.src = 'city.png';
|