diff options
author | Julien Dessaux | 2022-10-14 20:18:08 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-10-14 20:18:08 +0200 |
commit | fd92b8c087c5c32fb61cb2081801bd932bd664cc (patch) | |
tree | 246feca11dbee6d32be992ab6c854ef530eec540 /index.html | |
parent | Change placed to a sorted array (diff) | |
download | jeux-de-mots-fd92b8c087c5c32fb61cb2081801bd932bd664cc.tar.gz jeux-de-mots-fd92b8c087c5c32fb61cb2081801bd932bd664cc.tar.bz2 jeux-de-mots-fd92b8c087c5c32fb61cb2081801bd932bd664cc.zip |
Check if placement is valid
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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", "", "", "", "" ], [ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ], [ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ], [ "", "", "", "", "","", "", "", "", "","", "", "", "", "" ], |