Skip to content

Commit

Permalink
Fix: Updated python game logic (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Jun 20, 2024
1 parent c3846d4 commit 84139b0
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
53 changes: 53 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>404 Not Found - The Maze Game</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="../../utils/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="manifest" href="../../manifest.json">
<meta name="theme-color" content="#000000">
</head>

<script async src="https://www.googletagmanager.com/gtag/js?id=G-CZ3YJF00CG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-CZ3YJF00CG');
</script>

<style>
body, html {
scroll-behavior: smooth;
overflow-x: auto;
}
</style>

<body>
<header style="margin-bottom: 50px">
<h1>The Maze Game</h1>
<p>A simple yet fun game to play when you're bored.</p>
</header>

<div style="margin-top: -20px" class="game-container">
<h2 style="color: white">About The Maze Game</h2>
<p style="color: white">You can use the arrow keys or the four control buttons below the maze to help the player navigate through the maze.</p>
<p style="color: white">The player's goal is to reach the end of the maze.</p>
<p style="color: white">If the player reaches the end of the maze, the maze will regenerate and the player will be placed at the start of the new maze.</p>
<p style="color: white">If you find yourself stuck, you can regenerate the maze by clicking the "Regenerate Maze" button.</p>
<p style="color: white">Good luck!</p>

<button id="regenerateMaze" onclick="window.location.href='../../index.html'" style="margin-top: 25px">Back to Game</button>

<h2 style="color: white; margin-top: 25px">Explore Our Other Apps</h2>
<button style="font: inherit; margin-top: 10px" id="regenerateMaze1" onclick="window.location.href='https://movie-verse.com';">Visit The MovieVerse</button>
<button style="font: inherit; margin-top: 10px" id="regenerateMaze2" onclick="window.location.href='https://hoangsonww.github.io/RecipeGenie-App/';">Visit RecipeGenie</button>
<button style="font: inherit; margin-top: 10px" id="regenerateMaze3" onclick="window.location.href='https://hoangsonww.github.io/The-StickyNotes-App/';">Visit StickyNotes</button>
<button style="font: inherit; margin-top: 10px; margin-bottom: 20px" id="regenerateMaze4" onclick="window.location.href='https://hoangsonww.github.io/WeatherMate-App/';">Visit WeatherMate</button>
</div>
</body>

</html>
2 changes: 1 addition & 1 deletion src/html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The Maze Game</title>
<title>About The Maze Game</title>
<link rel="stylesheet" href="../css/style.css">
<link rel="icon" type="image/x-icon" href="../../utils/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down

0 comments on commit 84139b0

Please sign in to comment.