English · Dansk · Bahasa Malaysia
screen.ontimer(...)
mainloop()
time.sleep()
def advanced(self) -> "Ball": return replace(self, x=self.x + self.dx, y=self.y + self.dy) if x - half <= constants.LEFT_WALL: x, dx = constants.LEFT_WALL + half, abs(dx)
The full source is in the repository.
dx
dy
advanced()
Ball
Previous: Step 1 · Next: Step 3
Breakout wiki
Languages
English: Home Dansk: Hjem Bahasa Malaysia: Utama
Deleting the wiki page "Step 2" cannot be undone. Continue?