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