You need a main method in class GameLogic for the program to work.