Python Course - Tutorial 1: Mastering Python Syntax and Control Structures
Python Course - Tutorial 1: Mastering Python Syntax and Control Structures
TicTacToe
For this task, most of the description is in a le you have to download from the course website (http://www5.in.tum.de/ -> Teaching -> GRS Compact Course... -> Other Files -> tictactoe.py). The goal is to implement part of a TicTacToe game. The le provides the structure and some functionality. All parts which have to be implemented by you are marked by the text TODO. Try to implement all missing functionality. (Hint: test each function that you implemented independent of the whole program.) Advanced challenge: If you implemented the function computerStep as described in the function comment, the computer player is very dumb, as it picks elds randomly. Try to implement an intelligent computer player which cant be defeated.