From 200b3d87655a92ef5149619fb87b39c5690c69cd Mon Sep 17 00:00:00 2001 From: Aaron Mueller Date: Mon, 1 Sep 2014 00:21:18 +0200 Subject: [PATCH] Update the readme --- README.md | 4 ---- fuTris.js | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 24fdf86..eaae1d0 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,9 @@ # TODO * Check performance! 100% CPU usage for a simple tetris game is not acceptable :D -* Choose programming language. Can it be done in less amount of code in - coffeescript? -* Change the colors, brown is ugly * Add mainmenu * Add highscore * Pimp up the index.html -* Add "next stone" display * Add "score" display * Game over screen * Make archive, check size, submit :P diff --git a/fuTris.js b/fuTris.js index 36fe110..e5cbd34 100644 --- a/fuTris.js +++ b/fuTris.js @@ -7,6 +7,7 @@ var field = []; var background = []; var speed = 100; +var points = 0; var pos = {left: 4, top: 0}; var angle = 0; var shapes = [ @@ -223,7 +224,6 @@ function loop() { draw_shape(pos.left, pos.top, 2, current_shape_type, angle); // Next shape - //rect(20*2*10+10, 0, 20*5+10, 20*4+10, 1, '000'); draw_shape(21, 1, 1, next_shape_type, 0); setTimeout(loop, 5);