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>
|
2024-11-16 02:45:38 -06:00
|
|
|
<link rel="stylesheet" href="default.css" />
|
2024-08-09 00:25:49 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-08-27 23:34:13 -05:00
|
|
|
<div id="navigation">
|
2024-11-25 23:22:17 -06:00
|
|
|
<p id="navBarLeft">Trianta</p>
|
2024-11-25 22:40:51 -06:00
|
|
|
<a class="navItem" href="https://www.github.com/trimutex">GitHub</a>
|
|
|
|
<a class="navItem" href="https://lab.trianta.dev/Trianta">Projects</a>
|
2024-08-09 03:02:32 -05:00
|
|
|
</div>
|
|
|
|
<div id="main">
|
2024-11-25 23:29:38 -06:00
|
|
|
<h1>Completed Projects</h1>
|
2024-08-09 03:02:32 -05:00
|
|
|
<div class="card">
|
2024-08-09 18:46:40 -05:00
|
|
|
<h2 class="cardTop">Pong</h2>
|
2024-11-25 14:37:17 -06:00
|
|
|
<div class="canvas">
|
|
|
|
<canvas width="750" height="585" id="pong"></canvas>
|
|
|
|
<script src="public/pong.js"></script>
|
|
|
|
<div id="gameover" hidden="true">
|
|
|
|
<h1>Game Over</h1>
|
|
|
|
</div>
|
|
|
|
<div id="restart" hidden="true">
|
|
|
|
<button class="button" type="button" onclick = "restartGame()">Restart Game</a>
|
|
|
|
</div>
|
2024-08-09 18:46:40 -05:00
|
|
|
</div>
|
|
|
|
<p class="cardStats">Left Paddle Height: <span id="leftPaddle"></span></p>
|
|
|
|
<p class="cardStats">Right Paddle Height: <span id="rightPaddle"></span></p>
|
2024-08-27 23:34:13 -05:00
|
|
|
<a class="navItem" href="https://lab.trianta.dev/Trianta/trianta.dev/src/branch/main/src/pong.js">View Code</a>
|
2024-08-09 03:02:32 -05:00
|
|
|
</div>
|
2024-08-24 06:26:38 -05:00
|
|
|
<div class="card">
|
|
|
|
<h2 class="cardTop">Snake</h2>
|
2024-11-25 14:37:17 -06:00
|
|
|
<div class="canvas">
|
|
|
|
<canvas width="625" height="375" id="snake"></canvas>
|
|
|
|
<script src="public/snake.js"></script>
|
|
|
|
</div>
|
2024-11-25 15:20:56 -06:00
|
|
|
<p class="cardStats">
|
|
|
|
Adjust game size -- Width:
|
2024-11-25 22:48:00 -06:00
|
|
|
<input class="cardStats" id="snakeWidth" type="number" min="2" max="31" value="31">
|
2024-11-25 15:20:56 -06:00
|
|
|
Height:
|
2024-11-25 22:48:00 -06:00
|
|
|
<input class="cardStats" id="snakeHeight" type="number" min="2" max="24" value="24">
|
2024-11-25 15:20:56 -06:00
|
|
|
</p>
|
2024-11-09 01:39:16 -06:00
|
|
|
<p class="cardStats">Snake Head Location: <span id="snakeHead"></span></p>
|
|
|
|
<p class="cardStats">Food Location: <span id="snakeFood"></span></p>
|
2024-08-27 23:34:13 -05:00
|
|
|
<a class="navItem" href="https://lab.trianta.dev/Trianta/trianta.dev/src/branch/main/src/snake.ts">View Code</a>
|
2024-08-24 06:26:38 -05:00
|
|
|
</div>
|
2024-11-25 23:29:38 -06:00
|
|
|
<h1>Current Projects</h1>
|
|
|
|
<h1>Other Projects</h1>
|
2024-08-09 00:25:49 -05:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|