battle/src/index.php

22 lines
573 B
PHP
Raw Normal View History

<!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>