Merge branch 'ruch_traktora' of https://git.wmi.amu.edu.pl/s481825/AI_PROJECT into ruch_traktora

This commit is contained in:
jakzar 2024-03-11 13:31:13 +01:00
commit 4eaec14c77

View File

@ -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)