A simple tetris implementation as a React component