From 1d87e580b4b7c3b4609fa572f92a25b7ce1ba40f Mon Sep 17 00:00:00 2001 From: Nicolas Sudres Date: Fri, 5 Aug 2022 18:42:30 +0200 Subject: [PATCH] Add fruit status in return --- Snake/src/snake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snake/src/snake.py b/Snake/src/snake.py index 3640ff3..b729cbc 100644 --- a/Snake/src/snake.py +++ b/Snake/src/snake.py @@ -74,4 +74,4 @@ def Snake_move(M, L, dir, heigh, width): else: M[Save_Value[0]][Save_Value[1]] = 0 - return List_save, M \ No newline at end of file + return List_save, M, Fruit \ No newline at end of file