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

Initial gallery implementation #358

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

Initial gallery implementation #358

wants to merge 9 commits into from

Conversation

Bios-Marcel
Copy link
Member

By appending /gallery, you can view the list of all past drawings from the lobby. The link will work after the lobby dies, if the data is still in your session storage. We try to avoid sending requests multiple times by caching.

In order to do this, we've refactored parts of the lobby, moving shared drawing / color code into draw.js (previously floodfill.js).

By appending `/gallery`, you can view the list of all past drawings from
the lobby. The link will work after the lobby dies, if the data is still
in your session storage. We try to avoid sending requests multiple times
by caching.
* 2 clients per ip is now the default setting
* 24 max players is now the default setting
* The fly.io deployment now defaults to 100 max players
There are now two scoring algorithms from which the user can chose.

The code base has been prepared to technically support more algorithms in the future.

The two algorithms are alterations of the previous algorithm, but with adjusted scaling. By default, the scaling got more lax, while the second variant is more competitive, with an emphasis on speed.
Fixes #365

* Word amount in frontend now dynamic
* there's now two timers, 30 seconds for word choice + drawingTime
  * after 30 seconds a word is chosen automatically
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