major changes, leaving it at that
This commit is contained in:
1 parent
8cb4c3556b
commit
b55251cfc5
16 files changed
+3280
-302
No files matched your search
+73
-3
@@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Escape the Island</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" type="image/x-icon" href="assets/shipwreck.png" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
@@ -11,22 +12,91 @@
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<body class="page page-lobby">
|
||||
<header>
|
||||
<div class="header-container">
|
||||
<h1>Escape the Island</h1>
|
||||
<div class="boat-container">
|
||||
<img src="assets/boat.png" alt="" class="boat" />
|
||||
<img src="assets/boat-small.png" alt="" class="boat" />
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="Content">
|
||||
<div class="card-grid">
|
||||
<section class="panel room-panel">
|
||||
<p class="eyebrow">Teacher Console</p>
|
||||
<h2>Room Code</h2>
|
||||
<p id="room-code" class="room-code">----</p>
|
||||
<p id="lobby-status" class="lobby-status" aria-live="polite">
|
||||
Connecting...
|
||||
</p>
|
||||
<button type="button" id="host-btn" class="btn-primary" disabled>
|
||||
Connecting...
|
||||
</button>
|
||||
<p class="panel-footnote">
|
||||
Students open this same address, enter a name, and use the code
|
||||
above.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="panel" id="phase-panel" hidden>
|
||||
<p class="eyebrow">Game Control</p>
|
||||
<h2>Phase: <span id="phase-text">-</span></h2>
|
||||
<p class="panel-subtitle">Day <span id="day-text">0</span></p>
|
||||
<div class="phase-controls">
|
||||
<button type="button" id="start-game-btn" class="btn-primary">
|
||||
Start Game
|
||||
</button>
|
||||
<button type="button" id="end-day-btn" class="btn-primary">
|
||||
End Day Early
|
||||
</button>
|
||||
<button type="button" id="next-day-btn" class="btn-primary">
|
||||
Start Day N+1
|
||||
</button>
|
||||
</div>
|
||||
<p id="phase-status" class="lobby-status" aria-live="polite"></p>
|
||||
</section>
|
||||
|
||||
<section class="panel" id="roster-panel" hidden>
|
||||
<div class="roster-heading">
|
||||
<div>
|
||||
<p class="eyebrow">Crew Manifest</p>
|
||||
<h2>
|
||||
Players <span id="player-count" class="count-badge">0</span>
|
||||
</h2>
|
||||
</div>
|
||||
<p class="panel-subtitle">
|
||||
This list updates live as students join and connect.
|
||||
</p>
|
||||
</div>
|
||||
<div class="table-container">
|
||||
<table class="roster-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Fish</th>
|
||||
<th>Wood</th>
|
||||
<th>Hours</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="roster-body">
|
||||
<tr>
|
||||
<td colspan="5" class="empty">
|
||||
No students have joined yet.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
<h3 style="padding: 10px 0px 0px 10px">
|
||||
<h3 style="padding: 0px 0px 0px 10px">
|
||||
Gamemaker: Mr. J. Walla ~=~ Developer: Andrew H. ~=~ Designer: Logan C.
|
||||
</h3>
|
||||
</footer>
|
||||
<script type="module" src="client/lobby.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user