Problem with bouncing ball

Problem with bouncing ball

Lennier M writes:

I am on page 202 of your book, but when I followed your instructions, the ball stopped moving, instead of moving in multiple directions. Here is my code:

class Ball:
    def __init__(self, canvas, color):
        self.canvas = canvas
        self.id = canvas.create_oval(...

Continue reading...

Bouncing in Polski

Marzena writes:

I’m writing to you because neither me nor my 11-year old daughter with whom we’re learning Python can figure out where the problem is. We get the following error:
 ================ RESTART: C:/Users/Enarpol/Desktop/brajan.py ================
 Traceback (most recent call last):
...

Continue reading...
Restarting the Bounce game (revisited)

Restarting the Bounce game (revisited)

Robin T writes (excerpted):

I am currently at chapter 14, i already made my first game called “Bounce”. When the game is over, i want the user to push a button or a mouse click to restart the game. But i don’t know how to do this.

Someone else asked a similar question a few years ago, so...

Continue reading...

Problem with paddle ball animation

Hayden B writes:

I am trying to code the bouncing red ball in Chapter 13 but the animation is not working. *I have checked the code, and it makes sense, but I am getting these errors when I run:

RESTART: C:\Users\rf\AppData\Local\Programs\Python\Python36-32\Files .py\paddleball.py Traceback...

Continue reading...

Windows 10

I’ve come across some uncorroborated reports that some of the instructions, or examples, in Python for Kids don’t work with Windows 10. Uncorroborated because it’s unfortunately nothing more than “it don’t work”. Not spectacularly useful, so I’ve finally gotten around to installing Windows 10 in V...

Continue reading...

Restarting the game

Lyna M writes (excerpted):

*I bought your book Python for Kids with the intention to teach my son Python later on but have now been using it myself to learn Python as I find your book to be quite comprehensive even if it was ‘for kids’.

I’ve been doing the Bounce tutorial and would like to fin...

Continue reading...