-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUI
72 lines (71 loc) · 1.35 KB
/
UI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<title>Poker Solver</title>
<style>
/* Add CSS styles here */
</style>
</head>
<body>
<h1>Poker Solver</h1>
<form>
<label for="state">Enter game state:</label>
<input type="text" id="state" name="state"><br><br>
<button type="button" onclick="solveState()">Solve</button>
</form>
<br>
<h2>Optimal action:</h2>
<div id="output"></div>
<script>
/* Add JavaScript code here */
</script>
</body>
</html>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
}
h1 {
text-align: center;
font-size: 36px;
margin-top: 30px;
}
form {
margin: auto;
width: 50%;
border: 1px solid black;
padding: 10px;
border-radius: 5px;
}
label {
display: block;
margin-top: 10px;
}
input[type="text"] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border: 2px solid #ccc;
border-radius: 4px;
}
button[type="button"] {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
width: 100%;
}
button[type="button"]:hover {
background-color: #45a049;
}
#output {
font-size: 24px;
font-weight: bold;
text-align: center;
margin-top: 20px;
}
</style>