cards/client/index.html

30 lines
1.1 KiB
HTML

<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
<link rel="stylesheet" href="css.css">
<script src="js.js"></script>
</head>
<body>
<h1>Poor Man's Blind Man's Poker</h1>
<form id="control-games" onsubmit="return false;">
<button onclick="start(); return false;">Start</button>
<button onclick="join(); return false;">Join</button>
<button onclick="drop(); return false;">Drop</button>
<details>
<summary>Debug</summary>
<button onclick="resetGame(); return false;">RESET</button>
<input min=0 type="number"/>
<button onclick="setWallet(this); return false;">Set wallet cents</button>
</details>
</form>
<form id="control-game" onsubmit="return false;" >
<button onclick="fold(this); return false;">Fold</button>
<button onclick="check(this); return false;">Check</button>
<button onclick="collect(this); return false;">Collect</button>
<input min=0 type="number"/>
<button onclick="raise(this); return false;">Raise cents</button>
</form>
<div id="game"></div>
</body>
</html>