Skip to content

BinaryMatrixEngineAccessor is incomplete #2

@Fayti1703

Description

@Fayti1703

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions