Converting playground mechanisms to Shiny