#NEWLINE# def do_turn( self , player ) : #NEWLINE# #INDENT# if ( player . hero . power . can_use ( ) and ( len ( player . minions ) > 0 ) ) : #NEWLINE# #INDENT# player . hero . power . use ( ) #NEWLINE# #UNINDENT# if ( ( len ( player . hand ) > 0 ) and player . hand [ 0 ] . can_use ( player , player . game ) ) : #NEWLINE# #INDENT# if ( player . hand [ 0 ] . name == 'The Coin' ) : #NEWLINE# #INDENT# player . game . play_card ( player . hand [ 0 ] ) #NEWLINE# #UNINDENT# player . game . play_card ( player . hand [ 0 ] )