Hahha, glad you liked it. After playing 5-6 times, it's still quite easy to beat the AI, but I feel successful as long as my code can beat a human even once :)
Good point, it is hard to program such smart AI like they are at chess or go game. Anyways I enjoyed it because it reminded me of 40 years ago when I played it (physical toy) as a kid :X Thanks