LiamKhoaLe commited on
Commit
b92f45b
·
1 Parent(s): b36055a

Lower pace

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +1 -1
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -201,7 +201,7 @@ def knn_path(start, targets, occ):
201
 
202
  # ── Robot sprite/class -──────────────────────────────────────────────────
203
  class Robot:
204
- def __init__(self, sprite, speed=10000): # Declare the robot's physical stats and routing (position, speed, movement, path)
205
  img = Image.open(sprite).convert("RGBA").resize((40, 40))
206
  self.png = np.array(img)
207
  if self.png.shape[-1] != 4:
 
201
 
202
  # ── Robot sprite/class -──────────────────────────────────────────────────
203
  class Robot:
204
+ def __init__(self, sprite, speed=2000): # Declare the robot's physical stats and routing (position, speed, movement, path)
205
  img = Image.open(sprite).convert("RGBA").resize((40, 40))
206
  self.png = np.array(img)
207
  if self.png.shape[-1] != 4: