Merge branch 'master' of https://git.wmi.amu.edu.pl/s440556/SZI2019SmieciarzWmi
This commit is contained in:
commit
5356a8dbc2
1
game.py
1
game.py
@ -44,6 +44,7 @@ while( home_len > 0 ):
|
|||||||
y = random.randint(0, (PLAY_WIDTH//64)-1)
|
y = random.randint(0, (PLAY_WIDTH//64)-1)
|
||||||
|
|
||||||
if( type(cells[x][y]) == Grass ):
|
if( type(cells[x][y]) == Grass ):
|
||||||
|
print('Moge byc domkiem!')
|
||||||
cells[x][y] = House(x,y, 10, 10, 10)
|
cells[x][y] = House(x,y, 10, 10, 10)
|
||||||
home_len = home_len - 1
|
home_len = home_len - 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user