-
Notifications
You must be signed in to change notification settings - Fork 29
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
Extended logging #17
Comments
Highjacking this issue to make some notes to myself about how a revamp of game logs will probably need to be done: At the moment, game logs are prepared sent by the server in its full text. Markdown can be used to make bold or italic texts. This present multiple issues:
Instead, we could define a game log a data structure like: {
"type": "house-card-chosen",
"houseCards": [
["lannister", "tywin-lannister"],
["stark", "eddard-stark"]
]
} This structure would be sent to the client. On the client, we can define a React component for each type of log (here, for With this system, fixing a typo would done by simply changing the code, and would be applied retro-actively. |
missing log notifications:
|
On top of the list above:
|
Log for Patchface is missing |
A more detailed log should be available where you can see the all the movements/combat resolutions. This is especially important in non-live games where you might need to check other players previous combats and movements to remember what your next move was.
The text was updated successfully, but these errors were encountered: