field memory + game cycle
field memory + game cycle

at the end of the game cycle (when there's no actions possible with
current piece) the position of the piese is stored in field array and
new piece is selected

bogdan-karlenko/javascript-tetris,bogdan-karlenko/javascript-tetris