Skip to content

Commit d7b9fa0

Browse files
committed
Use the holy cross.
1 parent 3829bdc commit d7b9fa0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/holyCross.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ function onKeyDown(event: KeyboardEvent) {
3333
// Check if the correct key was pressed
3434
if (goldenPathDirections[goldenPathIndex] !== directionPressed) {
3535
// Wrong key was pressed
36-
console.log("WRONG");
3736
goldenPathIndex = 0;
3837
return;
3938
} else {
@@ -51,7 +50,7 @@ function onKeyDown(event: KeyboardEvent) {
5150

5251
function onGoldenPathTravelled() {
5352
// TODO: Do something cool
54-
console.log("GOLDEN PATH TRAVELLED!");
53+
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
5554
}
5655

5756
export function addGoldenPathListener() {

0 commit comments

Comments
 (0)