Added GameLogic.java.