Implement "password"-based session joining.

This commit is contained in:
2018-05-25 15:29:22 -07:00
parent f01c891cec
commit 75a386539e
5 changed files with 46 additions and 31 deletions

View File

@@ -9,6 +9,9 @@
.black-cell {
background-color: black;
}
.white-cell {
background-color: white;
}
.board {
max-width: 360px;
}
@@ -22,7 +25,7 @@
var app = Elm.Main.embed(node, {
'black' : <%= black %>,
'url' : "<%= "ws://" + URL + ":" + Kemal.config.port.to_s %>",
'id' : <%= id %>,
'id' : "<%= id %>",
'size' : <%= size %>
})
</script>