Tested. It works on Linux+Wine.

It killed my queen but I don't know when. May be an option to repeat the last movement or marking the last computer movement...

Anyway, good work.