Corrected error in turn-based implementation
Merge branch 'AI-Component'