Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Paddle: add a little randomization in the dy speed
To make the game a bit more challenging an less predictable add a little bit of randomness to the `dy` value. When hitting the right wall add a random number (one of [-1, 0, 1]) to the `dy` value. To keep the difficulty level managable limit the dy value to be in the range from -5 to 5.
- Loading branch information