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 multiplayer #117

Open
ChrisNeedham24 opened this issue Jan 14, 2023 · 15 comments
Open

Add multiplayer #117

ChrisNeedham24 opened this issue Jan 14, 2023 · 15 comments
Assignees
Labels
difficult Could take a while enhancement New feature or request

Comments

@ChrisNeedham24
Copy link
Owner

Eventually, it would be cool to have multiplayer functionality. Probably will be P2P.

@ChrisNeedham24 ChrisNeedham24 added enhancement New feature or request difficult Could take a while future Not going to be done soon labels Jan 14, 2023
@ChrisNeedham24
Copy link
Owner Author

Could also make it client-server, probably would be easier, and a basic Digital Ocean droplet is only $4 a month.

@ChrisNeedham24
Copy link
Owner Author

Probably best to do this once the core game functionality is somewhat settled so that changes don't affect this.

@ChrisNeedham24
Copy link
Owner Author

While core functionality is basically done now, I think this is something I'd probably want to do post-#20

@ChrisNeedham24
Copy link
Owner Author

The more I think about it, the more I realise that #20 will likely take a very long time to implement - I'll do some investigation on this issue to see if it could be any quicker. If so, this might be the first cab off the rank.

@ChrisNeedham24
Copy link
Owner Author

At this point, my investigation borders on actually doing it, so I'll commit.

@ChrisNeedham24 ChrisNeedham24 removed the future Not going to be done soon label Dec 23, 2023
@ChrisNeedham24 ChrisNeedham24 self-assigned this Dec 23, 2023
@ChrisNeedham24
Copy link
Owner Author

Will want to add some more statistics and achievements for this too.

@ChrisNeedham24
Copy link
Owner Author

When this is done it would be worth making a new issue to update to Python 3.12 - there's a chunking method in itertools now that could have been useful.

@ChrisNeedham24
Copy link
Owner Author

A number of files will probably be over 1000 lines at the end of this - should make new issues to refactor those once this is done.

@ChrisNeedham24
Copy link
Owner Author

Will need to update the screenshot when done

@ChrisNeedham24
Copy link
Owner Author

Might be worth making an issue once this is done to convert the save file format to use the new minified quads format

@ChrisNeedham24
Copy link
Owner Author

Also will need to update the README to mention routers needing UPnP

@ChrisNeedham24
Copy link
Owner Author

Once this is done, make an issue to implement turn timers (and potentially other game settings)

@ChrisNeedham24
Copy link
Owner Author

Will need to migrate old float yields for quads to be ints - just round

@ChrisNeedham24
Copy link
Owner Author

Once this is done, make a new issue to expand save naming - include faction, turn, game name for multiplayer? Basically just make it easier to tell which save is the one you're looking for.

@ChrisNeedham24
Copy link
Owner Author

Probably will want to do a sweep over the entire codebase just to make sure everything still makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficult Could take a while enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant