Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Move logic for tracking local client actions into Rust #13

Open
randomPoison opened this issue Jun 3, 2020 · 0 comments
Open

Move logic for tracking local client actions into Rust #13

randomPoison opened this issue Jun 3, 2020 · 0 comments
Labels
client Changes that affect the client codebase shared Changes that affect the shared codebase

Comments

@randomPoison
Copy link
Owner

Right now the shared Rust library implements most of the core state tracking for a mahjong match in the MatchState (soon to be LocalState) type. However, the C# code is currently handling the work of managing a last-known server state separate from a local state, including the work of tracking which actions have been been performed locally and reconciling incoming server actions with expected actions. This logic is fairly complicated and could be more easily tested as part of #12 if the full state management were in the Rust layer.

@randomPoison randomPoison added client Changes that affect the client codebase shared Changes that affect the shared codebase labels Jun 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
client Changes that affect the client codebase shared Changes that affect the shared codebase
Projects
None yet
Development

No branches or pull requests

1 participant