jonhoo/tetris-tutorial — pull request #1 by forgreed (2014-12-31 20:22:50+00:00)
Title: Change keypress event to keydown

KeyPress is not supported in Chrome for non-printable keys. Changing this to a KeyDown event ensures cross-browser compatibility.