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

feat(web): introduce score tracking #169

Merged
merged 28 commits into from
Oct 14, 2023
Merged

feat(web): introduce score tracking #169

merged 28 commits into from
Oct 14, 2023

Conversation

feugy
Copy link
Owner

@feugy feugy commented Oct 14, 2023

📖 What's in there?

A small step toward more automation 😉
Game descriptor can now include a computeScore() function which will be invoked on every game action, allowing to track each player's score.

Are included here:

  • fix(web): anchorable flip is ignore when loading game.
  • fix(web): lost meshes when decrementing a quantifiable.
  • fix(web): game loading screen hides game aside tabs.
  • feat(server)!: GraphQL game queries now return serialized preferences.
  • feat(server): bundles game descriptors on server start with esbuild.
  • feat(server): returns bundled rule engine when promoting and joining a game.
  • feat(server): supports multiple anchors and migrate existing games.
  • feat(web): initializes rule engine with bundled scripts and computes score on game init, joined player, and every action.
  • feat(web): displays game scores, loads serialized preferences, provides preferences to computeScore().
  • feat(web): supports anchors with multiple snapped meshes.
  • feat(game-utils): supports multiple anchors.
  • feat(game-utils): allows testing random game code.
  • feat(mah-jong): supports multiple anchors and computes score.
  • feat(draughts): supports multiple anchors and computes score.
  • feat(klondike): supports multiple anchors.
  • feat(chess): supports multiple anchors.
  • feat(playground): supports multiple anchors.
  • chore(server): configures repositories isProduction option.
  • refactor(web): moves some types to @tabulous/types.
  • refactor(game-utils): takes findPlayerPreferences() from web.

feugy added 26 commits October 2, 2023 09:21
@vercel
Copy link

vercel bot commented Oct 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tabulous ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2023 0:59am
tabulous-atelier ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2023 0:59am

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