[Answered ]-Recursion in Django View

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:
    ....
👤frnhr

Leave a comment