Java Collaboration for game Space Invaders