summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorJulien Dessaux2022-10-14 20:18:08 +0200
committerJulien Dessaux2022-10-14 20:18:08 +0200
commitfd92b8c087c5c32fb61cb2081801bd932bd664cc (patch)
tree246feca11dbee6d32be992ab6c854ef530eec540 /index.html
parentChange placed to a sorted array (diff)
downloadjeux-de-mots-fd92b8c087c5c32fb61cb2081801bd932bd664cc.tar.gz
jeux-de-mots-fd92b8c087c5c32fb61cb2081801bd932bd664cc.tar.bz2
jeux-de-mots-fd92b8c087c5c32fb61cb2081801bd932bd664cc.zip
Check if placement is valid
Diffstat (limited to '')
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index b84f998..0369896 100644
--- a/index.html
+++ b/index.html
@@ -31,7 +31,7 @@
<tr><td id="l0"><td id="l1"><td id="l2"><td id="l3"><td id="l4"><td id="l5"><td id="l6"></tr>
</table>
<aside>
- <button title="validate your move" onclick="onvalidatemoveclick()" id="validate">Validate</button>
+ <button title="validate your move" onclick="onvalidatemoveclick()" id="validate" disabled>Validate</button>
<button onclick="onSelectSwapTilesClicked()" id="pass">Pass</button>
</aside>
</p>
@@ -45,7 +45,6 @@
<script>
var CWDATA = {
board: [
- [ "T", "E", {joker:"S"}, "T", "","", "", "", "", "","", "", "", "", "" ],
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],
@@ -53,6 +52,7 @@
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],
+ [ "", "", "", "", "","", "", "T", "E", "S","T", "", "", "", "" ],
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],
[ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ],