diff --git a/index.html b/index.html
index 5413f41..7b96a6f 100755
--- a/index.html
+++ b/index.html
@@ -1,5 +1,8 @@
+
+ Tetris
+
@@ -8,19 +11,48 @@
-
+
-
-
+
+
+
+
Lines:
0
+
Next bricks:
+
+
+
+
-
Controls:
+ Controls:
+
- a,d - left/right
- w - rotate
- s - down
diff --git a/tetris-ai.js b/tetris-ai.js
index 479fff5..e2a101f 100644
--- a/tetris-ai.js
+++ b/tetris-ai.js
@@ -88,7 +88,7 @@ function startAI() {
}
$(document).ready(function() {
- game = new TetrisGame("tetris-board");
+ game = new TetrisGame("tetris-board", "lines", "next-bricks");
game.startGame();
startAI();
});