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