We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in here https://github.com/NomeTemporaneo/elime/blob/master/src/store/actions/game/index.js#L62 you can find the entrypoint of the "play a card" action.
This logic needs to be made abstract and played via websocket, so the battlefield status can be updated between two different clients in "real time".
The whole objects can be serialised and sent as json, as they do have 2 methods: toJs => https://github.com/NomeTemporaneo/elime/blob/master/src/libs/models/battlefield.js#L184 fromJs => https://github.com/NomeTemporaneo/elime/blob/master/src/libs/models/battlefield.js#L197
toJs
fromJs
the ideal workflow is:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in here https://github.com/NomeTemporaneo/elime/blob/master/src/store/actions/game/index.js#L62 you can find the entrypoint of the "play a card" action.
This logic needs to be made abstract and played via websocket, so the battlefield status can be updated between two different clients in "real time".
The whole objects can be serialised and sent as json, as they do have 2 methods:
toJs
=> https://github.com/NomeTemporaneo/elime/blob/master/src/libs/models/battlefield.js#L184fromJs
=> https://github.com/NomeTemporaneo/elime/blob/master/src/libs/models/battlefield.js#L197the ideal workflow is:
Turn workflow
The text was updated successfully, but these errors were encountered: