Skip to content

Conversation

@barnesjt
Copy link

Pong.py has been updated to use the pygame built-in collision detection. This also allowed the removal of some unwieldy code. While I can still see minor remaining issues with how the game currently reacts to a collision (sometimes jumping the ball a few pixels to the front of the paddle if detection is late), I believe this could be adjusted to be completely seamless for all resolutions.

Additional charges are the addition of comments to the Pong and RaycastMaze tests and the removal of a test for the now defunct and removed line_intersection function.

This implements the fix to issue #3.

@barnesjt barnesjt added enhancement New feature or request refactor labels Mar 18, 2019
@barnesjt barnesjt self-assigned this Mar 18, 2019
@barnesjt barnesjt merged commit 24ad17f into master Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants