From 8ffbee0ad4b73289b07be8fe1899bade8d08cf8f Mon Sep 17 00:00:00 2001 From: Robert Kolner Date: Tue, 13 Mar 2012 01:38:28 +0100 Subject: [PATCH] Added a controller class, fixed a bug with out-of-board check. --- index.html | 1 + tetris-control.js | 11 ++++++++ tetris.js | 67 ++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 70 insertions(+), 9 deletions(-) create mode 100644 tetris-control.js diff --git a/index.html b/index.html index d3e0e34..4d5d18f 100755 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ +