Skip to content
New issue

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

Add wormholes between solar systems to allow agents to spread across the universe #2

Open
carlsverre opened this issue Jun 29, 2022 · 0 comments
Assignees

Comments

@carlsverre
Copy link
Contributor

Main issue to consider is what happens when one solar system gets too large which could slow things down. We probably need a population cap on each solar system to ensure this doesn't happen.

rough notes

to generate neighbors, use veroni and connect solar systems on either side of every edge

for connections, consider a new wormholes table to track sid -> sid
then pack all the edges in the current system (similar to neighbors) and pass it
into the step function as another input

alternatively, add a new entity kind and just add the edges directly to the entities table
this is the easiest solution, but requires improving cleanup routines/development workflow to not delete the wormholes

then the universe map needs to know about the wormholes in order to render edges bewtween each system

@carlsverre carlsverre self-assigned this Jun 29, 2022
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

No branches or pull requests

1 participant