Skip to content

Generic game setup tests #264

Description

@glowacki-dev

There are some constraints that we must follow while writing new games:

  • It's not possible to store nested arrays in firebase, so we can't have those in G object - We currently don't have this issue anywhere, but it's easy to forget about it
  • When socket.io fallbacks to long polling (at least that seems to be the cause) it doesn't quite like sending arrays as move argument (this causes nested array situation as well) - currently it seems to happen when starting new picturematch game and selected categories are sent as an array not wrapped in an object

It should be possible to create some generic, reusable tests to check for such limitations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions