wordbots / wordbots-core

Client-side code for Wordbots, the card game where YOU make the cards.
http://wordbots.io
MIT License
22 stars 4 forks source link

Infinite loop cause draw game. #1887

Open Zergla opened 7 months ago

Zergla commented 7 months ago

"When this robot takes damage, this robot gain 2 health and this robot takes 1 damage" When this robot takes damage, it will cause a draw game.

Zergla commented 7 months ago

"[Game]: Stopping executing triggers after hitting the limit of 100 triggers in a row."

Zergla commented 6 months ago

It's obviously a somewhat intentional behavior, but given I could this sort of loop happening by error, there could be others things done such as stopping executing without ending game or destroying the robots inside the loop.