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

Draft: starting (simple) online multiplier support #24

Draft
wants to merge 47 commits into
base: main
Choose a base branch
from

Conversation

Totto16
Copy link
Collaborator

@Totto16 Totto16 commented Apr 5, 2023

Tasks before this ready:

  • extensive SDL_net wrapper for easy to use struct transmission over network
  • basic Local Multiplayer (on localhost)
  • improve code consistency and resolve (resolvable) TODOs
  • correctly transport the start state (seed)
  • rebase merge (it was fun 😂)
  • fix crash that was introduced in merging
  • refactor (e.g. use [[nodiscard]], find better names ...) WIP
  • add docs WIP
  • merge v2 (:sob:)
  • merge v3 (:sob: :sob:)

Totto16 added 30 commits April 5, 2023 17:46
- fixed a few templates
- remove  free floating templates / functions
- made working with raw network sent data easier
- fixed ownership of received data
- fixed return value errors (dont use {}, use tl::nullopt, if you want to use a null optional!)
 fixed some receive - send errors
- use tl::expected instead of exception
- throw on wrong implementation of LocalMultiplayer::init
- fixed teh resulting warnings
@Totto16 Totto16 marked this pull request as ready for review April 8, 2023 00:11
@Totto16 Totto16 changed the title Draft: starting (simple) online multiplier support starting (simple) online multiplier support Apr 8, 2023
@Totto16 Totto16 changed the title starting (simple) online multiplier support Draft: starting (simple) online multiplier support Apr 10, 2023
@Totto16 Totto16 marked this pull request as draft April 10, 2023 15:26
@mgerhold mgerhold linked an issue Apr 13, 2023 that may be closed by this pull request
@Totto16 Totto16 mentioned this pull request Apr 13, 2023
Totto16 added 5 commits April 16, 2023 22:19
- also fixed merge errors and conflicts that came out of the merge
- remove helper function that was used during debugging of a crash
- added [[nodiscard]] where it's usefull and makes sense
- started with docs
- refactored some API for better convenience in use
@Totto16 Totto16 added the stale This is stale for a long time label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This is stale for a long time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement multiplayer basics
1 participant