Skip to content

Serialization Protocol and GameClass data structures#6

Merged
Johnnykoch02 merged 7 commits into
mainfrom
tgo
Apr 23, 2023
Merged

Serialization Protocol and GameClass data structures#6
Johnnykoch02 merged 7 commits into
mainfrom
tgo

Conversation

@TheGuy920
Copy link
Copy Markdown
Collaborator

  • Adds more methods to the serialization and communication between the brain and host
  • Expands Game data classes
  • Expands game object scoring and hashing algorithms

@TheGuy920 TheGuy920 requested a review from Johnnykoch02 March 23, 2023 20:08
Copy link
Copy Markdown
Owner

@Johnnykoch02 Johnnykoch02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice, all we would need to add is Vector r and thetas for the associated vector.

Comment thread Classes/Vector.py
import math

class Vec(object):
def __init__(self, x, y, z):
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For vectors we want r theta and omegas too

@Johnnykoch02
Copy link
Copy Markdown
Owner

noice

@Johnnykoch02 Johnnykoch02 merged commit a1a0393 into main Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants