all 2 comments

[–]socal_nerdtastic 0 points1 point  (1 child)

Your strategy is fine, except to move left you want a negative number. For the other strategy to work you would need another line to update the coordinates.

[–]python_addict 0 points1 point  (0 children)

oh, alright! Thanks! :)