We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3829bdc commit d7b9fa0Copy full SHA for d7b9fa0
src/holyCross.ts
@@ -33,7 +33,6 @@ function onKeyDown(event: KeyboardEvent) {
33
// Check if the correct key was pressed
34
if (goldenPathDirections[goldenPathIndex] !== directionPressed) {
35
// Wrong key was pressed
36
- console.log("WRONG");
37
goldenPathIndex = 0;
38
return;
39
} else {
@@ -51,7 +50,7 @@ function onKeyDown(event: KeyboardEvent) {
51
50
52
function onGoldenPathTravelled() {
53
// TODO: Do something cool
54
- console.log("GOLDEN PATH TRAVELLED!");
+ window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
55
}
56
57
export function addGoldenPathListener() {
0 commit comments