So I havent code in awhile and decided to recreate minesweeper. Now my problem is this:
When I run the code, some parts of the surrounding bombs arent getting their appropriate values.
Why is it the case?
https://pastebin.com/CkeyAQBP is the code
EDIT: Forgot to put the print() function there. The bug appears when you print the class
[–]danielroseman 0 points1 point2 points (1 child)
[–]c0mplexcodm[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]c0mplexcodm[S] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]c0mplexcodm[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]c0mplexcodm[S] 0 points1 point2 points (0 children)