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

BinaryMatrixEngineAccessor is incomplete #2

Open
5 tasks
Fayti1703 opened this issue Jan 20, 2024 · 0 comments
Open
5 tasks

BinaryMatrixEngineAccessor is incomplete #2

Fayti1703 opened this issue Jan 20, 2024 · 0 comments
Labels
addition something new low-priority z-project: accessor something in the CLI accessor

Comments

@Fayti1703
Copy link
Owner

Fayti1703 commented Jan 20, 2024

BinaryMatrixEngineAccessor has some missing/unimplemented features that would be nice to have for debugging and testing purposes, in particular:

  • A /full-state command that dumps the entire current game state to be inspected:
    #if false
    private static void DumpFullState(GameContext game) {
    throw new NotImplementedException();
    }
    #endif
  • Support for more than two players:
    /* FIXME?: This doesn't support multiple players per side yet */
  • Some form of file input to quickly restore to a game state. Luckily binmat is entirely deterministic (minus shuffles, but we use a PRNG), so seed + actions taken is enough to encode the entire game state.
  • When no file input is provided, use a random seed (make sure this is stored/displayed somewhere to allow for restores)
  • Display the binlog for the current turn in the output (Added from Add the binlog #8)
@Fayti1703 Fayti1703 mentioned this issue Feb 14, 2024
9 tasks
@Fayti1703 Fayti1703 added addition something new z-project: accessor something in the CLI accessor labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition something new low-priority z-project: accessor something in the CLI accessor
Projects
None yet
Development

No branches or pull requests

1 participant