Update the readme
This commit is contained in:
parent
43fddf4d6c
commit
200b3d8765
2 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue