#NEWLINE# def do_turn( self , player ) : #NEWLINE# #INDENT# if ( ( not self . played_card ) and player . hand [ 0 ] . can_use ( player , player . game ) ) : #NEWLINE# #INDENT# player . game . play_card ( player . hand [ 0 ] ) #NEWLINE# self . played_card = True #NEWLINE# #UNINDENT# if player . hero . can_attack ( ) : #NEWLINE# #INDENT# player . hero . attack ( )