Skip to content

Commit 51de1fd

Browse files
Update index.html
1 parent 04eb9d3 commit 51de1fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// Player and goal objects
2727
var player = {
2828
x: canvas.width / 2,
29-
y: 140,
29+
y: 200,
3030
radius: 20,
3131
vx: 0,
3232
vy: 0,
@@ -35,7 +35,7 @@
3535
};
3636
var goal = {
3737
x: canvas.width / 2,
38-
y: canvas.height / 2 + 90,
38+
y: canvas.height / 2 + 150,
3939
radius: 42,
4040
angle1: 0,
4141
angle2: 0,
@@ -166,7 +166,7 @@
166166
console.log('done freeze')
167167
player.freeze = false;
168168
player.x = canvas.width / 2;
169-
player.y = 140;
169+
player.y = 200;
170170
player.vx = 0;
171171
player.vy = 0;
172172
}, 1000);
@@ -218,7 +218,7 @@
218218
console.log('done freeze')
219219
player.freeze = false;
220220
player.x = canvas.width / 2;
221-
player.y = 140;
221+
player.y = 200;
222222
player.vx = 0;
223223
player.vy = 0;
224224
}, 1000);
@@ -228,13 +228,13 @@
228228
ctx.fillStyle = "#AA6C39"; // or any color you prefer
229229
ctx.font = "36px Arial"; // size and font face
230230
ctx.textAlign = "center"; // alignment
231-
ctx.fillText("Welcome to Gödel's Gauntlet", canvas.width/2, 50); // text and position
231+
ctx.fillText("Welcome to Gödel's Gauntlet", canvas.width/2, 100); // text and position
232232

233233
// Draw the instruction text
234234
ctx.font = "24px Arial"; // size and font face
235235
ctx.textAlign = "center"; // alignment
236236
ctx.fillStyle = "#7E909A"; // or any color you prefer
237-
ctx.fillText("Click to move the circle towards the keyhole", canvas.width/2, 90); // text and position
237+
ctx.fillText("Click to move the circle towards the keyhole", canvas.width/2, 150); // text and position
238238

239239
// Request next animation frame
240240
requestAnimationFrame(gameLoop);

0 commit comments

Comments
 (0)