Why is locDiff sometimes calculated incorrectly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is locDiff sometimes calculated incorrectly?

It results in not being able to switch any pieces until the game is reloaded. I am having a hard time reproducing this bug as it only occurs sometimes. https://code.sololearn.com/WIGYx83rvJhh/?ref=app

24th Mar 2022, 5:15 PM
Margaret Guzman
Margaret Guzman - avatar
1 Answer
- 2
I am not exactly sure
26th Mar 2022, 6:33 AM
Anastacia Lianne Miranda