Disable food spawning in the simulation
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 3m13s
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 3m13s
This commit is contained in:
parent
c0479cdcf2
commit
ac08ecbc27
2
main.py
2
main.py
@ -26,7 +26,7 @@ GRID_HEIGHT = 25 # Number of cells vertically
|
|||||||
CELL_SIZE = 20 # Size of each cell in pixels
|
CELL_SIZE = 20 # Size of each cell in pixels
|
||||||
|
|
||||||
DEFAULT_TPS = 20 # Number of ticks per second for the simulation
|
DEFAULT_TPS = 20 # Number of ticks per second for the simulation
|
||||||
FOOD_SPAWNING = True
|
FOOD_SPAWNING = False
|
||||||
|
|
||||||
|
|
||||||
def draw_grid(screen, camera, showing_grid=True):
|
def draw_grid(screen, camera, showing_grid=True):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user