Skip to content

Commit

Permalink
fix on settings not taknig effect
Browse files Browse the repository at this point in the history
Signed-off-by: farteryhr <[email protected]>
  • Loading branch information
farteryhr committed Aug 21, 2015
1 parent 94c6e90 commit 3f00dd3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
Binary file removed fontawesome-webfont.eot
Binary file not shown.
Binary file removed fontawesome-webfont.ttf
Binary file not shown.
Binary file removed fontawesome-webfont.woff
Binary file not shown.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#tetr.js

[Have a try](http://farter.tk/tetr.js) in your browser.

### Default Controls:

- **Rotate Left:** Z
Expand Down
4 changes: 3 additions & 1 deletion tetris.js
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,7 @@ function init(gt, params) {
//TODO Check if needed.
piece.shiftDir = 0;
piece.shiftReleased = true;
piece.dead = true;

toGreyRow = 21;
frame = 0;
Expand Down Expand Up @@ -811,7 +812,7 @@ function init(gt, params) {
stack.grid[x][y] = 8;
}
}
stack.draw();
//stack.draw(); //resize
}

menu();
Expand All @@ -830,6 +831,7 @@ function init(gt, params) {

statistics();
statisticsStack();
resize();
}

function range(start, end, inc) {
Expand Down

0 comments on commit 3f00dd3

Please sign in to comment.