Old Magician by rst76

main=g>>f 1
f x=do y<-g;putStrLn$"Case #"++show x++s!!read[last y];f$x+1
s=": WHITE":": BLACK":s
g=getLine

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page