Open manno-xx opened 2 years ago
Here too (as with some other AI) there's an error(?) of generating food: If the opponent has only one item of food, you still steal 5.
(and, does the display of score get updated?)
https://github.com/Alexygalexy/Actual-Food-Snatchers/blob/bdef913dd796eb52db4a20cd4993506fcbdaa086/Actual%20Food%20Snatchers/Assets/Scripts/Raya%20Scripts/RayaBot.cs#L134
Oh wait, the score gets updated in Update(). A it over the top maybe, as the score doe not nearly change as often as Update() executes
Here too (as with some other AI) there's an error(?) of generating food: If the opponent has only one item of food, you still steal 5.
(and, does the display of score get updated?)
https://github.com/Alexygalexy/Actual-Food-Snatchers/blob/bdef913dd796eb52db4a20cd4993506fcbdaa086/Actual%20Food%20Snatchers/Assets/Scripts/Raya%20Scripts/RayaBot.cs#L134