Combat strategy for ants

前端 未结 4 2007
孤街浪徒
孤街浪徒 2021-02-04 07:50

This question refers to the Google-sponsored AI Challenge, a contest that happens every few months and in which the contenders need to submit a bot able to autonomously play a g

4条回答
  •  难免孤独
    2021-02-04 08:29

    I think your problem can be solved by turning the problem around. Instead of calculating the best moves - per ant - you could caclulate the best move candidates per discrete position on your playing board.

    • +1 for a save place
    • +2 for a place that results in an enemy dying
    • -1 point for a position of certain death

    That would scale in a linear way - but have some trade off in not providing best individual movement.

    Maybe worth a try :)

提交回复
热议问题