parent
d8fd1d0e76
commit
7749bb9b34
@ -1,22 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Battle</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Battle</h1>
|
||||
<form id="joinForm">
|
||||
<input type="text" id="username" placeholder="Enter your name" required>
|
||||
<button type="submit">Join Game</button>
|
||||
</form>
|
||||
<div id="gameContainer" style="display: none;">
|
||||
<div id="gameState"></div>
|
||||
<div id="fighters"></div>
|
||||
<select id="targetPlayer"></select>
|
||||
<button value="basic_attack" id="submitMove">Basic Attack</button>
|
||||
</div>
|
||||
|
||||
<script src="battle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Battle</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Battle</h1>
|
||||
<form id="joinForm">
|
||||
<input type="text" id="username" placeholder="Enter your name" required>
|
||||
<select id="gameMode" required>
|
||||
<option value="" disabled selected>Select game mode</option>
|
||||
<option value="solo">Solo</option>
|
||||
<option value="team">Team</option>
|
||||
</select>
|
||||
<input id="team" type="number" style="display: none;">
|
||||
<button type="submit">Join Game</button>
|
||||
</form>
|
||||
<div id="gameContainer" style="display: none;">
|
||||
<div id="gameState"></div>
|
||||
<div id="fighters"></div>
|
||||
<select id="targetPlayer"></select>
|
||||
<button value="basic_attack" id="submitMove">Basic Attack</button>
|
||||
</div>
|
||||
|
||||
<script src="battle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user