We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi guys,
I'm trying to normalize the state_to_json() outputs. For example, in the pong game, the function returns something like,
state_to_json()
{'reset': False, 'p1_score': 0, 'p2_score': 0, 'ball': {'position': {'x': 75.0, 'y': 117.0}, 'velocity': {'x': -3.0, 'y': 1.0}}, 'p1_paddle': {'position': {'x': 140.0, 'y': 96.5}, 'velocity': {'x': 0.0, 'y': 0.5}}, 'p2_paddle': {'position': {'x': 16.0, 'y': 114.0}, 'velocity': {'x': 0.0, 'y': 0.0}}}
Is there a way to know the max/min value of each attribute?
Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi guys,
I'm trying to normalize the
state_to_json()
outputs. For example, in the pong game, the function returns something like,Is there a way to know the max/min value of each attribute?
Thank you!
The text was updated successfully, but these errors were encountered: