Whenever you're ready, walk me through how you'd approach this.
Implement Tetris with left and right movement and rotation.
Explain how you would represent the board and tetrominoes, process movement and rotation commands, detect collisions, lock pieces, and clear completed rows. Discuss rotation near walls and other edge cases, but do not implement rendering or a user interface.