Created GameBoard class and simple gameloop