elseif isboardfull(theboard)drawboard(theboardprint('the game is tie!'break if the player didn' win with their last movemaybe their move filled up the entire board and tied the game in this else-blockthe isboardfull(function returns true if there are no more moves to make in that casethe if-block starting at line displays the tied board and tell the player tie has occurred the execution breaks out of the while loop and jumps to line elseturn 'computerif the player hasn' won or tied the gamethen line sets the turn variable to 'computerso that it will execute the code for the computer' turn on the next iteration running the computer' turn if the turn variable wasn' 'playerfor the condition on line then it must be the computer' turn the code in this else-block is similar to the code for the player' turn elsecomputer' turn move getcomputermove(theboardcomputerlettermakemove(theboardcomputerlettermoveif iswinner(theboardcomputerletter)drawboard(theboardprint('the computer has beaten youyou lose 'gameisplaying false elseif isboardfull(theboard)drawboard(theboardprint('the game is tie!'break elseturn 'playerlines to are almost identical to the code for the player' turn on lines to the only difference is this the code uses the computer' letter and calls getcomputermove(if the game isn' won or tiedline sets turn to the player' turn there are no more lines of code inside the while loopso execution would jump back to the while statement on line