Closed Kalior closed 8 years ago
Have now sufficiently fixed all comments.
Bug:
Apa creates a game, Bepa joins that game and then kicks self. Apa gets duplicate gameControlOwnerDom or whatever you call it :)
Bug fixed.
Looks good to me. Resolve the conflicts and I'll merge to development
Makes the games password protected if desired. All games start out as not protected and when a password has been set they can't be unset (has to have some password, can be fixed but I didn't think it relevant in this implementation).
All passwords are sent to the server in clear text where they are hashed using
Crypto.PasswordStore
. This is because the library didn't work in Haste (gotUncaught TypeError: Cannot read property 'a' of undefined
). It means that the communication has to rely on https to ensure that passwords can't be picked up by a malicious person.The passwords are also in putted in clear text (no **\ fields), can be fixed but didn't think it necessarily relevant to this implementation.
Fixes #68, fixes #9 (last part)