2019-04-07 23:39:18 +02:00
|
|
|
from UI.grid import Grid
|
|
|
|
from UI.window import Window
|
2019-04-07 16:58:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
def main():
|
2019-04-07 23:39:18 +02:00
|
|
|
# initialize grid
|
|
|
|
grid = Grid(20, 20)
|
2019-04-28 16:13:41 +02:00
|
|
|
# initialize window (grid, start,end,mode)
|
|
|
|
#mode 1 - random obstacles
|
|
|
|
#mode 2 - board obstacles
|
|
|
|
Window(grid,(0,0),(19,19),2)
|
2019-04-07 16:58:08 +02:00
|
|
|
|
|
|
|
|
2019-04-07 16:15:19 +02:00
|
|
|
if __name__ == "__main__":
|
2019-04-07 16:58:08 +02:00
|
|
|
main()
|