A tetris game implemented in Java