[Tetris] Add Key control func

Signed-off-by: Shawn Bow <shawnbow81@qq.com>