Skip to content

演化时游戏分数更新 #1

@SuXiChangZhen

Description

@SuXiChangZhen

贪吃蛇agentsimulate函数中如果吃到豆子依然会更新分数,然后导致游戏的分数很高。我现在是给Snake.update函数加了一个simulation的bool参数,在AI评估的时候不会post evemt。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions