Closed nirs closed 10 months ago
LGTM
@yaacov this conflicts with #476 - if it is ready we can merge them first and I will update this pr.
https://github.com/RedHat-Israel/ROSE/pull/476 works for me (TM) so I'm ok with merging it first, or after this one :-)
btw// https://github.com/RedHat-Israel/ROSE/pull/472 touches the same files is not ready but it won first place in Nitanim :-) it will be nice to fix it and merge it too ...
btw// #472 touches the same files is not ready but it won first place in Nitanim :-) it will be nice to fix it and merge it too ...
btw// #472 touches the same files is not ready but it won first place in Nitanim :-) it will be nice to fix it and merge it too ...
472 needs more work, do you want to review it?
I added my reviews
@nirs hi, #472 is a PR from the NItanim competition, it has no "owner" now. the kids that made it finished the program and will not continue with there PRs, ( even if they want to continue, they will not know how to respond to the review or how to fix the PR ).
This PRs needs someone with permissions to edit PRs, fix it, and merge it (don't wait for the kids to fix it).
@yaacov logging is much better after to your changes.
There are some issue we can fix later because we may change player.x or player.y to invalid value and log the invalid value before the value is clipped to valid value.
Looks like the documentation does not describe the rules of the game correctly. Add debug logs to make it easier to understand the scoring loop and its semantics.
To see the new logs we need to enable debug level logging. In the test this can be done like this:
Example logs from the collisions tests: