def check_game_over(game):
    """Check if someone has died, and it's GAME OVER."""

    # If the player's HP is gone, the monster has won
    if game.player.hp <= 0:
        game.winner = game.monster
        return True

    # If the monster's HP is gone, the player has won
    if game.monster.hp <= 0:
        game.winner = game.player
        return True

    # No one has died, the game is still ON
    return False