Old Magician by pooq

a:stdin.get_s(9K).split("
").to_a;a[0].to_i.times{b:a[it+1];c:b.size;%f"Case #%d: %s"(it+1,["WHITE","BLACK"][b.slice(c-1,c).to_i%2]).p;};

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

download

return to the top page