44 lines
1.2 KiB
HTML
44 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="hu">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
|
|
<title>Avoid | Game</title>
|
|
|
|
<meta name="theme-color" content="#A5402D" />
|
|
<link
|
|
href="https://fonts.googleapis.com/css?family=Raleway"
|
|
rel="stylesheet"
|
|
/>
|
|
<link rel="stylesheet" href="css/main.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<div id="menuBox">
|
|
<div class="box">
|
|
<div id="startText">
|
|
<h1>Avoid</h1>
|
|
<p>
|
|
the red balls by moving your cursor (or finger) on the screen. Try
|
|
eliminating the enemy balls by getting them to collide with each
|
|
other. Good luck!
|
|
</p>
|
|
</div>
|
|
<div id="endText">
|
|
<h1>You lost.</h1>
|
|
<p id="endScore"></p>
|
|
</div>
|
|
<button id="startButton">Let's start</button>
|
|
</div>
|
|
</div>
|
|
|
|
<canvas id="canvas"></canvas>
|
|
|
|
<script src="js/CanvasHandler.js"></script>
|
|
<script src="js/InputHandler.js"></script>
|
|
<script src="js/vec2.js"></script>
|
|
<script src="js/main.js"></script>
|
|
</body>
|
|
</html>
|