Added GameEvent class for the game logic