Skip to content

Commit

Permalink
made code simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
egiday committed May 4, 2023
1 parent 122dede commit f3d0ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ <h1>Choose a Game</h1>

<script>
function loadSnakeGame() {
window.location.href = "Snake Game/SnakeGame.html";
window.location.href = "SnakeGame.html";
}

function loadMoneyTycoonGame() {
window.location.href = "Money Tycoon Game/MoneyTycoonGame.html";
window.location.href = "MoneyTycoonGame.html";
}
</script>
</body>
Expand Down

0 comments on commit f3d0ab2

Please sign in to comment.