A tetris game based on Java Swing