Closed chrisgrounds closed 6 years ago
Instead of if direction == 'a', it would be better to write if direction == LEFT.
if direction == 'a'
if direction == LEFT
Just need to define LEFT and RIGHT.
I've done this by passing variables from main.py through constructor methods.
Instead of
if direction == 'a'
, it would be better to writeif direction == LEFT
.Just need to define LEFT and RIGHT.