mirror of
https://github.com/d3vyce/Python-Game.git
synced 2025-07-01 09:28:19 +02:00
reverse ID changes
This commit is contained in:
@ -2,8 +2,9 @@ import numpy as np
|
|||||||
import random
|
import random
|
||||||
|
|
||||||
# 0 = AIR
|
# 0 = AIR
|
||||||
# 1 = WALL
|
# 1 = SNAKE
|
||||||
# 2 = APPLE
|
# 2 = WALL
|
||||||
|
# 3 = APPLE
|
||||||
|
|
||||||
def init_level(heigh, width):
|
def init_level(heigh, width):
|
||||||
return np.zeros((heigh, width))
|
return np.zeros((heigh, width))
|
||||||
|
Reference in New Issue
Block a user