Complete implementation of play_turn