2023-04-11 11:33:22 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>The CPU Higher Lower Game</title>
|
|
|
|
<link rel="icon" type="image/x" href="imgs/chip.png">
|
|
|
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2023-04-11 12:15:46 +02:00
|
|
|
<script src="game.js"></script>
|
|
|
|
|
2023-04-11 11:33:22 +02:00
|
|
|
<div>
|
|
|
|
<nav class="navbar navbar-expand-sm bg-light navbar-light">
|
|
|
|
<div class="container-fluid h4">
|
|
|
|
<img class="navbar-brand" src="imgs/chip.png" height="50">
|
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#collapsibleNavbar">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="collapsibleNavbar">
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="index.html">Home</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" style="text-decoration: underline;" href="game.html">Game</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="gst.html">GST</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="about.html">About</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-12 00:47:35 +02:00
|
|
|
</nav>
|
2023-04-11 11:33:22 +02:00
|
|
|
</div>
|
2023-04-12 00:30:10 +02:00
|
|
|
<div class="container">
|
2023-04-12 00:47:35 +02:00
|
|
|
<div class="row mt-3">
|
2023-04-12 01:26:22 +02:00
|
|
|
<div class="col-sm border text-center p-2" id="col1">
|
2023-04-12 00:47:35 +02:00
|
|
|
<span class="h2" id="currentCpuTitle"></span>
|
2023-04-12 01:26:22 +02:00
|
|
|
<br>
|
|
|
|
<span class="h3">cpu score:</span>
|
|
|
|
<span class="h3" id="currentCpuScore"></span>
|
2023-04-12 00:30:10 +02:00
|
|
|
</div>
|
2023-04-12 01:26:22 +02:00
|
|
|
<div class="col-sm border text-center p-2" id="col2">
|
2023-04-12 00:47:35 +02:00
|
|
|
<span class="h2" id="nextCpuTitle"></span>
|
2023-04-12 00:30:10 +02:00
|
|
|
<br>
|
2023-04-12 01:26:22 +02:00
|
|
|
<span class="h3">cpu score:</span>
|
2023-04-12 09:00:36 +02:00
|
|
|
<span class="h3 counter-count" id="nextCpuScore">?</span>
|
2023-04-12 01:26:22 +02:00
|
|
|
<br>
|
2023-04-12 00:47:35 +02:00
|
|
|
<button class="btn btn-lg bg-info m-3" onclick="btnHigherClick()" id="btnHigher">Higher</button>
|
2023-04-12 00:30:10 +02:00
|
|
|
<br>
|
2023-04-12 00:47:35 +02:00
|
|
|
<button class="btn btn-lg bg-info mb-3" onclick="btnLowerClick()" id="btnLower">Lower</button>
|
2023-04-12 00:30:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-11 11:33:22 +02:00
|
|
|
|
|
|
|
<!-- <div class="footer">
|
|
|
|
<a href="https://www.flaticon.com/free-icons/processor" title="processor icons">Processor icons created by kerismaker - Flaticon</a>
|
|
|
|
</div> -->
|
|
|
|
</body>
|
|
|
|
</html>
|