Call updateState() in testAI.js when clicking on cards. Maintain actions list of State objects.