1👍
✅
The x and y values were being passed as unicode character so it was throwing an exception when I tried to add or subtract these values.
Basically,
x = int(x)
y = int(y)
Solved it for me.
1👍
My guess it that reveal()
keeps walking over already revealed Tiles.
if not tile[0].revealed and tile[0].mine == False and tile[0].value == 0:
....
- [Answered ]-Django Rest Framework SlugRelatedField: field may not be null
- [Answered ]-Applying class method to queryset in Django
- [Answered ]-Python django translation .po and .mo file not translating the files
Source:stackexchange.com