Tetris project with IA in Java language