Oh after checking I can confirm I did just happen to get the same spot for both the player and key twice so you can ignore that portion of my feedback lol.
But yeah I totally understand the issues with the A.I., it can be quite a painful undertaking especially with strict time constraints. Best of luck in your future projects!