Open
Conversation
marein
commented
Jan 28, 2026
marein
commented
Jan 28, 2026
marein
commented
Jan 28, 2026
marein
commented
Jan 28, 2026
| $this->publisher->send( | ||
| new Message( | ||
| 'TicTacToe.' . $this->nameFromDomainEvent($content), | ||
| json_encode( |
Owner
Author
There was a problem hiding this comment.
Json is used for faster bootstrapping. Should be changed to use protobuf via https://github.com/gaming-platform/api. Either now, or after the game is added.
marein
commented
Jan 28, 2026
marein
commented
Jan 28, 2026
Defines the architecture, some conventions, and how copilot can run tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This context works mostly like Connect Four, except that it distinguishes explicitly between a
Challengeand aGame, and that it's usingEvent Sourcing(no specific reason, just showcasing). Further, the database in this context will not be sharded and other measurements for extended scalability aren't implemented, because that's showcased in the Connect Four context already.This pull request just bootstraps the context and will only add the
Challengeinvariants. TheGamecomes later as the pull request is huge already.There's quite some duplication that can be squashed, especially some JavaScript components can be generalized. Some duplication is good but, e.g., the timer is the timer, the lobby will function the same, maybe the animation for grid sized board games will likely stay the same. At least the files have been copied and adapted.