Skip to content

Commit

Permalink
Very basic refactor of HTML/CSS and JS. Yes, I removed vendor prefixe…
Browse files Browse the repository at this point in the history
…s from

css. We are using flexbox without prefixes. Don't think we need them for
border radius, etc. Still a lot to be done though.
We are now responding to 'keydown' event as opposed to 'keyup' which
lacked the classic tetris behaviour of running the tetris down if the
button is kept pressed.

TODO: There is a bug to be fixed. When a tetromino is rotated at the
edge of the grid it wraps to next row.
  • Loading branch information
lightify97 committed Apr 14, 2020
1 parent 4172c67 commit 642a509
Show file tree
Hide file tree
Showing 3 changed files with 263 additions and 498 deletions.
Loading

0 comments on commit 642a509

Please sign in to comment.