forked from s444413/projekt_sztuczna_int
16 lines
385 B
Python
16 lines
385 B
Python
import random
|
|
|
|
from settings import *
|
|
from astar import *
|
|
|
|
|
|
trash_list = {}
|
|
for row in range(10):
|
|
for column in range(10):
|
|
if obstacles[row][column] == 2:
|
|
trash_list[(column, row)] = {
|
|
'coordinates': (column, row),
|
|
'trash_type': random.choice(trash_types),
|
|
'filling': random.choice(trash_fillings),
|
|
}
|