Attempt at making a game in Java.