Added gameData class to store the in game action