def get_score(game_object):
    """
    Returns the score scored in given game. The score is calculated using the
    level and amount eaten.
    :param game_object: Game object
    :return: int

    >>> game = Game()
    >>> print(game.score)
    0
    >>> get_score(game)
    0

    """
    game_object.score = game_object.level * game_object.environment.food.eaten
    return game_object.score