Ask coding questions

← Back to all posts
How to fixe RangeError?
CatR3kd (361)

It was working fine until I got this message. Can you help?

Answered by Coder100 (10843) [earned 5 cycles]
View Answer
Commentshotnewtop
Coder100 (10843)

Well, the kill function is just like doing this in math:
f(x)=g(x), g(x)=f(x)

That's some really horrible recursion.

And that's what you did on line 198. Did you make a typo? Maybe chooseKill()?