Skip to content

Random Group Allocator

See also: casa, teaching, complex-instruction, visibly-random-groups

Explorations to develop a web page based (Javascript) method for randomly allocating groups by

  • Copy and pasting a collection of student names;
  • Setting group size; and
  • visibly displaying the group allocation.

Repo complete and deployed via GitHub Pages.

GroupGenerator#

Plan to adapt this one

  • Translate to English
  • Replace manual addition of names with text area

Implementation details#

  • addName called on button press - to be removed
  • generateGroup does the work
  • updateCurrentAllocation - add a feature that shows a calculation of the number of groups as names are added

Add storage of group allocations#

  • Only store the current allocation - only one, not multiple
  • Add "Save" button - on group allocation page
  • Add "Load" button on initial page - but only if there is a saved allocation
    • On start, call isSaveGroupAllocation and change the display for the button