Merge branch 'ruch_traktora' of https://git.wmi.amu.edu.pl/s481825/AI_PROJECT into ruch_traktora
This commit is contained in:
commit
4eaec14c77
4
main.py
4
main.py
@ -83,13 +83,11 @@ def init_demo(): #Demo purpose
|
|||||||
draw_grid()
|
draw_grid()
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
randomize_colors()
|
randomize_colors()
|
||||||
time.sleep(2)
|
|
||||||
|
|
||||||
def demo_move():
|
def demo_move():
|
||||||
SLOT_DICT[(traktor.x_axis,traktor.y_axis)].draw()
|
SLOT_DICT[(traktor.x_axis,traktor.y_axis)].draw()
|
||||||
traktor.random_move()
|
traktor.random_move()
|
||||||
|
|
||||||
#Main program
|
|
||||||
init_demo()
|
init_demo()
|
||||||
while True:
|
while True:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user