Skip to content

feat: add versioned game records with export and restore support - #11

Merged
denyrt merged 8 commits into
mainfrom
feature/game-record
Oct 19, 2026
Merged

denyrt merged 8 commits into
mainfrom
feature/game-record

Conversation

@denyrt

@denyrt denyrt commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Introduce game record persistence with support for exporting, serializing, and restoring games.

Game records

  • Add immutable game record export.
  • Support restoring games from validated records.
  • Introduce versioned JSON serialization for game records.

Engine improvements

  • Reduce game state allocations to improve performance.
  • Refactor engine internals for better readability and maintainability.

Project maintenance

  • Update the SDK to the next version.
  • Update the package version and add a package icon.
  • Update CI actions to use Node.js 24 and eliminate duplicate workflow runs triggered by both push and pull_request.

Related issues

None.

Validation

  • CI checks passes successfully

Compatibility and risks

  • Serialization: Review version compatibility and handling of unsupported or malformed game records.
  • Game restoration: Ensure restored games preserve the expected state and reject invalid records.
  • Performance: Verify that allocation optimizations preserve existing engine behavior.
  • Packaging: Verify SDK compatibility and package metadata after the version update.

Visual changes

No application UI changes. Added a package icon.

Checklist

  • The change is focused on one logical purpose.
  • Tests were added or updated when behavior changed.
  • Documentation was updated when required.
  • Relevant local validation passed, or limitations are explained above.
  • No credentials, personal data, or unintended generated files are included.

@denyrt
denyrt merged commit 623fc4e into main Oct 19, 2026
5 checks passed
@denyrt
denyrt deleted the feature/game-record branch October 19, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant