HELPPP ME FIX THIS !!Game bottom wall crashes when it's not inside map scope | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

HELPPP ME FIX THIS !!Game bottom wall crashes when it's not inside map scope

these are my 3 code files, I don't know how to merge them in solo learn. Can anyone find the error why the bottom column crashes when the rover hit down, but it works fine for other sides, and also for the small scope it works fine... thank you .. sample output is in main... https://code.sololearn.com/c2A6A10A28a8 = main https://code.sololearn.com/ca24A161a23A =map https://code.sololearn.com/ca2A0a17a240 = rover

4th Mar 2021, 6:06 AM
Sky Yogash Shri
Sky Yogash Shri - avatar
1 Answer
+ 2
Did you read my answer to your other question? Because you still have the same bugs in your code. You're still accessing the map out of bounds.
4th Mar 2021, 9:33 AM
Dennis
Dennis - avatar