Dots and box game code

Hello I need source code or any algorithm that’s work .I need implications of aaAI