New variant idea
[xogo.git] / index.html
index b30f6cf..72b9091 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html>
+<html lang="en">
 
   <head>
     <meta charset="utf-8"/>
       <div id="boardContainer"></div>
       <div id="gameStopped">
         <h1>Game over</h1>
+        <h4>Rematch</h4>
         <div class="btn-wrap">
           <button id="rematchBtn"
-                onClick="sendRematch()">
-            Rematch
+                  onClick="sendRematch()">
+            Same
           </button>
-          <button class="cancel-something"
-                onClick="cancelRematch()">
-            Close
+          <button id="rematchBtn"
+                  onClick="sendRematch('random')">
+            Random
           </button>
         </div>
+        <button class="cancel-something"
+                onClick="cancelRematch()">
+          Close
+        </button>
       </div>
       <div id="pendingRematch">
         <div class="loader hour-glass"></div>
@@ -49,7 +54,7 @@
           </div>
           <div class="btn-wrap">
             <button id="playCustom"
-                  onClick="showNewGameForm()">
+                    onClick="showNewGameForm()">
               Customize
             </button>
           </div>
     <script src="/variants.js"></script>
     <script src="/app.js"></script>
   </body>
+
 </html>