From 8e9af8f0b378a9357615e1e6ea57df84f742e89d Mon Sep 17 00:00:00 2001 From: matixezor Date: Mon, 12 Apr 2021 19:05:04 +0200 Subject: [PATCH] fix directions constants --- src/const.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/const.py b/src/const.py index 7089f98..c19ac2d 100644 --- a/src/const.py +++ b/src/const.py @@ -79,6 +79,6 @@ ACTIONS = { 3: [pg.K_a, pg.K_w] } -DIRECTIONS_X = (-1, 0, 1, 0) -DIRECTIONS_Y = (0, -1, 0, 1) -DIRECTIONS_SIDE = (3, 0, 1, 2) +DIRECTIONS_X = (0, -1, 0, 1) +DIRECTIONS_Y = (-1, 0, 1, 0) +DIRECTIONS_SIDE = (0, 3, 2, 1)