Skip to content

Conversation

@maxgeorg99
Copy link

This PR updates the SpaceTimeDB Multiplayer Demo to work with the latest version of SpaceTimeDB 1.0.0 and fixes several issues to ensure proper functionality.

Changes Made

  • Updated dependencies to the latest compatible versions:
    • Upgraded spacetimedb to version 1.0.0-rc2
    • Updated related dependencies to ensure compatibility
  • Refactored code to work with the new SpaceTimeDB API:
    • Adjusted random number generation patterns
    • Updated module imports and structure
    • Ensured compatibility with current SpaceTimeDB features
    • Fixed random number generation by replacing rand::thread_rng() with spacetimedb::rng() to conform with SpaceTimeDB's deterministic requirements

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