Skip to content

2023

pick someone

input

  • list of people that might have some on vacation

algorithm

  • receive the list of people that are not on vacation
  • choose a random person on that list
  • choose another until the list is empty
  • let me know if the list is empty

output

  • a random person
  • or nobody if the list is empty

ui

  • checkboxes
  • button to choose random person

notes

  • you could return a list
  • this would eliminate clicks
  • but it breaks the more zen like flow of linear selection