-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (52 loc) · 3.2 KB
/
Copy pathindex.html
File metadata and controls
58 lines (52 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="author" content="James Park">
<meta property="og:title" content="Kitchen Frenzie" />
<meta name="image" property="og:image" content="/src/images/KitchenFrenzie.gif" />
<!-- <meta property="og:author" content="James Park" /> -->
<meta property="og:description" content="Responsive rendition of a popular, classic game, Brick Breaker, built using vanilla ES6 Javascript and Canvas API" />
<meta property="og:url" content="https://jamhanpar.github.io/KitchenFrenzie/" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" type="text/css" href="./dist/main.css" />
<link rel="stylesheet" type="text/css" href="./src/styles/reset.css">
<link rel="stylesheet" type="text/css" href="./src/styles/styles.css"/>
<link rel="stylesheet" type="text/css" href="./src/styles/instructions.css"/>
<link rel="stylesheet" type="text/css" href="./src/styles/navbar.css"/>
<link id="favicon" rel="shortcut icon" type="image/png" href="src/images/FOOD/bread11.png" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
<title>Kitchen Frenzie</title>
</head>
<body>
<div class="container">
<!-- <img class="bg-img" src="src/images/kitchen_top_edited.jpg"> -->
<div class='canvas-container'>
<div id="navbar-container" class="navbar-container">
<ul class="navbar-list">
<!-- <li class="navbar-item"><a href="https://www.jameshansungpark.com" target="_blank"><img class="link-icon" src="src/images/ICON/linkedIn-icon.png" alt="linkedIn"></a></li> -->
<li class="navbar-item"><a href="https://www.linkedin.com/in/jameshansungpark/" target="_blank"><img class="link-icon" src="src/images/ICON/linkedIn-icon.png" alt="linkedIn"></a></li>
<li class="navbar-item"><a href="https://github.com/jamhanpar/KitchenFrenzie" target="_blank"><img class="link-icon" src="src/images/ICON/github-icon.png" alt="linkedIn"></a></li>
<li class="navbar-item"><a href="https://angel.co/u/jameshansungpark" target="_blank"><img class="link-icon" src="src/images/ICON/angellist-icon.png" alt="linkedIn"></a></li>
</ul>
</div>
<div id="instructions-container" class="instructions-container">
<p class="instructions-title">INSTRUCTIONS</p>
<p class="instructions-text">To start, press Play. Move your mouse left and right to control the rolling pin. Use the pin to deflect the bagel and calm the kitchen frenzy!</p>
<p class="instructions-text">Cooking can be chaotic! Sometimes, it's easier to explore one ingredient at a time. Click each kitchenware or ingredient and watch them run wild."</p>
</div>
<img class="bg-img" src="src/images/kitchen_top_edited.jpg">
<canvas id="game-canvas"></canvas>
</div>
</div>
<script src="./dist/main.js"></script>
<script>
const canvas = document.getElementById("game-canvas"),
ctx = canvas.getContext("2d");
canvas.width = window.innerWidth;
canvas.height = window.innerHeight-3;
</script>
</body>
</html>