I originally wanted to comment how cool it is that you managed to make a working enemy in only 3 days (I tried something similar, it did NOT end well), and something about how it feels a bit to easy, but then in the next 3 moves I lost the queen, the white tile bishop and a pawn...!
Very good enemy programing! And generally a well polished game (The buttons were sometimes a bit hard to click, no worries though)! Really well done!
BTW: I still somehow won!
(I think he was feeling sorry for my poor chess skills that game