Classic game Tetris implemented by console UI