From 6b0e2098e3eabf9399bb397760e55d45b30feda5 Mon Sep 17 00:00:00 2001 From: Nicolas Sudres Date: Sun, 31 Jul 2022 22:53:42 +0200 Subject: [PATCH] reverse ID changes --- Snake/src/level.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Snake/src/level.py b/Snake/src/level.py index baed2f7..b6167a5 100644 --- a/Snake/src/level.py +++ b/Snake/src/level.py @@ -2,8 +2,9 @@ import numpy as np import random # 0 = AIR -# 1 = WALL -# 2 = APPLE +# 1 = SNAKE +# 2 = WALL +# 3 = APPLE def init_level(heigh, width): return np.zeros((heigh, width))