-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.html
25 lines (25 loc) · 1.46 KB
/
project.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com/"></script>
<title>Martial Arts Simulator</title>
</head>
<body>
<div class="relative flex flex-col justify-center">
<div class="relative bg-white mx-auto shadow-xl ring-1 ring-gray-900/5">
<canvas id="my-canvas" class="mx-auto" width="500px" height="500px">
</canvas>
<div class="p-10">
<button class="px-5 py-2.5 text-white bg-indigo-600 rounded-md duration-150 hover:bg-indigo-700 active:shadow-lg" id="kick">Kick (Arrow Up Key) ↑ </button>
<button class="px-5 py-2.5 text-white bg-indigo-600 rounded-md duration-150 hover:bg-indigo-700 active:shadow-lg" id="punch">Punch (Arrow Down Key) ↓</button>
<button class="px-5 py-2.5 text-white bg-indigo-600 rounded-md duration-150 hover:bg-indigo-700 active:shadow-lg" id="block">Block (Spacebar)</button>
<button class="px-5 py-2.5 text-white bg-indigo-600 rounded-md duration-150 hover:bg-indigo-700 active:shadow-lg" id="backward">Backward (Left Arrow Key) ← </button>
<button class="px-5 py-2.5 text-white bg-indigo-600 rounded-md duration-150 hover:bg-indigo-700 active:shadow-lg" id="forward">Forward (Right Arrow Key) →</button>
</div>
</div>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>