@classmethod
def new_game(cls, user, attempts, deck, disp_deck, attempts_made, match_list, match_list_int, matches_found, guess1_or_guess2, guess_history):
    'Create and return a new game'
    if ((attempts < 30) or (attempts > 60)):
        raise ValueError('Number of attempts must be more than 29 and less than 61')
    game = Game(user=user, deck=deck, attempts_allowed=attempts, attempts_remaining=attempts, disp_deck=disp_deck, attempts_made=attempts_made, match_list=match_list, match_list_int=match_list_int, matches_found=matches_found, guess1_or_guess2=guess1_or_guess2, game_over=False, cancelled=False, guess_history=guess_history, time_created=str(datetime.now()))
    game.put()
    return game
Create and return a new game
@classmethod
def new_game(cls, user, attempts, deck, disp_deck, attempts_made, match_list, match_list_int, matches_found, guess1_or_guess2, guess_history):
    
    if ((attempts < 30) or (attempts > 60)):
        raise ValueError('Number of attempts must be more than 29 and less than 61')
    game = Game(user=user, deck=deck, attempts_allowed=attempts, attempts_remaining=attempts, disp_deck=disp_deck, attempts_made=attempts_made, match_list=match_list, match_list_int=match_list_int, matches_found=matches_found, guess1_or_guess2=guess1_or_guess2, game_over=False, cancelled=False, guess_history=guess_history, time_created=str(datetime.now()))
    game.put()
    return game