2024-08-09 00:25:49 -05:00
|
|
|
<!DOCTYPE html>
|
2024-08-09 17:39:10 -05:00
|
|
|
<html>
|
2024-08-09 00:25:49 -05:00
|
|
|
<head>
|
2024-08-09 17:39:10 -05:00
|
|
|
<meta charset="utf-8"/>
|
2024-08-09 00:25:49 -05:00
|
|
|
<title>Trianta</title>
|
|
|
|
<link rel="stylesheet" href="css/home.css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-08-09 18:19:52 -05:00
|
|
|
<div id="navigation" style="margin-bottom: 30px;">
|
2024-08-09 18:46:40 -05:00
|
|
|
<a class="navItem" href="https://www.github.com/trimutex">GitHub</a>
|
|
|
|
<a class="navItem" href="https://lab.trianta.dev/Trianta">Projects</a>
|
|
|
|
<p class="navItem" style="text-align: right; flex-grow: 1;">Trianta</p>
|
2024-08-09 03:02:32 -05:00
|
|
|
</div>
|
|
|
|
<div id="main">
|
|
|
|
<div class="card">
|
2024-08-09 18:46:40 -05:00
|
|
|
<h2 class="cardTop">Pong</h2>
|
|
|
|
<canvas width="750" height="585" id="pong"></canvas>
|
|
|
|
<script src="js/pong.js"></script>
|
|
|
|
<div id="gameover" hidden="true">
|
|
|
|
<h1>Game Over</h1>
|
2024-08-09 03:02:32 -05:00
|
|
|
</div>
|
2024-08-09 18:46:40 -05:00
|
|
|
<div id="restart" hidden="true">
|
|
|
|
<button class="button" type="button" onclick = "restartGame()">Restart Game</a>
|
|
|
|
</div>
|
|
|
|
<p class="cardStats">Left Paddle Height: <span id="leftPaddle"></span></p>
|
|
|
|
<p class="cardStats">Right Paddle Height: <span id="rightPaddle"></span></p>
|
|
|
|
<a class="navItem" href="https://lab.trianta.dev/Trianta/trianta.dev/src/branch/main/js/pong.js">View Code</a>
|
2024-08-09 03:02:32 -05:00
|
|
|
</div>
|
2024-08-09 00:25:49 -05:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|