def defineStrategy(self, strategy):
        '''Play offensively (first turn) or defensively.'''
        if strategy in ['offensive','defensive']:
            self.strategy = strategy
Play offensively (first turn) or defensively.
recipes/Python/580723_TicTacToe_text_based/recipe-580723.py