oczki / inspiracje

One-click word generator for improv exercises.
http://inspirac.je
Other
3 stars 0 forks source link

Change logic for short lists #6

Closed oczki closed 6 years ago

oczki commented 6 years ago

Currently, short lists (e.g. locations) are treated the same as large lists (e.g. nouns), where a bunch of random words is read from the file.

For short lists, instead of reading random words (which causes noticeable repetitions), just load the whole list and shuffle it clientside.