an AS3 omegachess engine (with bad AI)