cleartonic

mmbingo

Jul 27th, 2021
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. Generator:
  2. This is the main generator:
  3. bingo.cleartonic.net/
  4.  
  5. If the above does not load, then use this, which is the same as the above:
  6. http://bingoenv-env.eba-fxaa8npa.us-east-1.elasticbeanstalk.com/
  7.  
  8. GitHub:
  9. https://github.com/cleartonic/mm_bingo
  10.  
  11. Goals set:
  12. This updates from an internal google sheets that a few community members maintain
  13.  
  14. Generator logic:
  15. First, every 5 minutes the latest data from the google sheet is downloaded. If there's a parsing problem, then new data won't be downloaded. The google sheet needs to be in consistent format for new entries. But if it does fail, the latest valid data set will still be able to be used for generation.
  16.  
  17. For every generation attempt, a seed number is either supplied or randomly generated. The generator will randomly select goals according to the settings criteria. Then it will shuffle the order of the bingo card until it meets the following criteria:
  18. - The maximum rank (3 for now) can only appear once per row/column
  19. - Stdev of <=1.5 for row/column
  20. - Average of row/column is within bounds, initially set to +/- 25% but sometimes expands
  21.  
  22. All of these attempt to yield a somewhat balanced card. If the generator cannot succeed with the above checks, it will redraw the goals and try again multiple times.
  23.  
  24. Other notes:
  25. When using seed numbers, you must input the matching settings for games.
  26.  
  27. If changes are made to the goals data source from google sheet, it is unlikely the same seed numbers will work (this will mostly not be a concern except when edits are actively being made)
Add Comment
Please, Sign In to add comment