summaryrefslogtreecommitdiff
path: root/assets/index.html
diff options
context:
space:
mode:
authorstale <redkugelblitzin@gmail.com>2022-05-20 06:39:58 -0300
committerstale <redkugelblitzin@gmail.com>2022-05-20 06:39:58 -0300
commitfae0fca7aabb81325a296a1d6202239c3db44b60 (patch)
tree687a95f381ee13ee3de9f8eabdf4cd371a258091 /assets/index.html
parentd89b9ea43ac65af549279f6e86c68c66243dcdf3 (diff)
wip room support
Diffstat (limited to 'assets/index.html')
-rw-r--r--assets/index.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/index.html b/assets/index.html
new file mode 100644
index 0000000..bb18d1c
--- /dev/null
+++ b/assets/index.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <title>websweeper</title>
+ <meta name="viewport" content="width=device-width,initial-scale=1">
+ <link rel="stylesheet" type="text/css" href="s.css">
+ </head>
+ <body>
+ <form method="post" action="r">
+ <fieldset>
+ <legend>-={ Create a new room }=-</legend>
+ <label>room name<input name="rname" type="text" autofocus></label><br>
+ <label>board dimensions<br>
+ <input name="rwidth" type="number" value="30" required>
+ x
+ <input name="rheight" type="number" value="20" required><br>
+ where<input name="rration" type="number" value="1" required>
+ in every<input name="rratiod" type="number" value="8" required>
+ tiles are mines
+ </label><br>
+ <label>public, ie. shown in the lobby? <input name="raccess" type="checkbox"></label><br>
+ <label>player limit (0 for none)<input name="rlimit" type="number"></label><br>
+ <button>create</button>
+ </fieldset>
+ <form>
+ </body>
+</html>