Skip to content

Conversation

@barnesjt
Copy link

This PR implements a solution to issue #2 .

pong.py and raycastmaze.py now properly assert reasonable values for the parameters, like width and height > 0 and non-negative speeds for player and cpu controlled objects.

Additionally, I commented out a test I had previously written for pong.py that asked for an exception if an invalid action was taken by the user agent. Upon further investigation I'm unsure if this would be intended behavior, so I have removed the test for now.

@barnesjt barnesjt added bug Something isn't working enhancement New feature or request labels Mar 18, 2019
@barnesjt barnesjt self-assigned this Mar 18, 2019
@barnesjt
Copy link
Author

Pong Tests Selection_025

RaycastMaze Tests

Selection_026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants