This is a downright good puzzle that I couldn't quite figure out at first, but trying sure is fun.
Haha thanks! Did you struggle with understanding the mechanics or was it difficult to beat the AI?