!7 static L options = tlftj([[ a question a statement a true statement a false statement ]]); p { ai_spec_init(); } html { S _topic = params.get("topic"); if (empty(_topic)) _topic = ai_randomString(); fS topic = _topic; ret hcenter( p(b(hfontsize(20, topic)), style := "margin-top: 3em") + hSingleElementTable(form( hhidden(+topic) + joinWithBR(map(options, func(S s) -> S { hcheckbox(urlencode(s), guessChecked(topic, s)) + "is " + htmlencode(s) })) )) ); } sbool guessChecked(S topic, S option) { ret tossCoin(); }