zamiana prawdopodobienstwa scian
This commit is contained in:
parent
9db6e8235a
commit
052481ced7
2
board
2
board
@ -29,7 +29,7 @@ class Field:
|
|||||||
self.visited = False
|
self.visited = False
|
||||||
self.parent = None
|
self.parent = None
|
||||||
number = random.randint(0, 9)
|
number = random.randint(0, 9)
|
||||||
if number > 3 and not isObject:
|
if number > 4 and not isObject:
|
||||||
self.isBlock = True
|
self.isBlock = True
|
||||||
else:
|
else:
|
||||||
self.isBlock = False
|
self.isBlock = False
|
||||||
|
Loading…
Reference in New Issue
Block a user