Summary

Metadata
Tags:demos
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
generator-needs-reponse-type tuplegenerator
multiple-choice-question questionn choices
multiplication number-responsecount n
number-question question
number-response tuple
question tuplegenerator generated answer response parsed-response correct?
sq-question number-responserandom-choices
sqrt-question number-responserandom-choices
stack-shuffler string-responsen-shufflers
state-capital-question string-response
string-question question
string-response tuple
true-false-question question
true-false-response tuple


Generic words
WordStack effect
>question( obj -- question )
ask-question( question -- )
check-response( question -- correct? )
generate-question( question -- )
generate-question*( question -- quot )
parse-response( input question -- answer )
run-multiple-choice-quiz( obj n -- questions )
run-quiz( obj -- questions )


Ordinary words
WordStack effect
<multiple-choice-question>( generator n -- multiple-choice-question )
<number-question>( generator -- question )
<string-question>( generator -- question )
<true-false-question>( generator -- question )
alphabet-zip( seq -- zip )
first-n-letters( n -- seq )
generator-needs-reponse-type( generator -- * )
run-main-quiz( -- )
run-one-question( question -- question/f )
run-shuffler-quiz( -- )
run-states-quiz-hard( -- )
score-question( question input -- question/f )
score-quiz( seq -- )
stack-shufflers( -- value )
state-capital( state -- capital )
state-capitals( -- value )
trim-blanks( seq -- seq' )


Class predicate words
WordStack effect
generator-needs-reponse-type?( object -- ? )
multiple-choice-question?( object -- ? )
multiplication?( object -- ? )
number-question?( object -- ? )
number-response?( object -- ? )
question?( object -- ? )
sq-question?( object -- ? )
sqrt-question?( object -- ? )
stack-shuffler?( object -- ? )
state-capital-question?( object -- ? )
string-question?( object -- ? )
string-response?( object -- ? )
true-false-question?( object -- ? )
true-false-response?( object -- ? )


Files


Metadata files