AI for playing dots