Cyrus Leung | Indie Game Dev· 来源· @Cyrus71167424 · X·· 50 分钟前AI 评分8
正文 · 原文
Spent an evening hunting a "broken AI" bug in my battle royale.
The bots weren't broken. My bot-control code was dividing by zero — their positions quietly turned into NaN and they checked out of reality.
One guard clause later, 7 bots came back to life and immediately shot me.
What's the dumbest bug you've shipped? I need company.
来源:Cyrus Leung | Indie Game Dev · x.com