Minor changes

This commit is contained in:
Loic Guegan 2022-11-01 10:40:43 +01:00
parent 0ebaf8ae32
commit c61f050feb

View file

@ -7,7 +7,7 @@ class Snake:
Programmable Game of Snake written in PyGame Programmable Game of Snake written in PyGame
""" """
def __init__(self, margin=80,length=4,grid_width=30,grid_height=30, grid_pts=30,fps=5): def __init__(self, margin=80,length=4,grid_width=30,grid_height=30, grid_pts=30,fps=12):
# Init attributes # Init attributes
self.grid_width=grid_width self.grid_width=grid_width
self.grid_height=grid_height self.grid_height=grid_height