fixing nico's code to pull game data from the server
fixing bug on the "bets on X matches"