MCPcopy Create free account
hub / github.com/geekcomputers/Python / flap

Method flap

Flappy Bird - created with tkinter/Flappy Bird.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.y += self.vel
31
32 def flap(self):
33 self.vel = -10
34
35 def draw(self, screen):
36 screen.blit(self.image, (self.x, self.y))

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected