scores getscoreofboard(mainboard print(' has % points has % points(scores[' ']scores[' ']) input('press enter to continue ' if turn =' ' ' turn othertile ' xy getcomputermove(mainboard' ' makemove(mainboard' 'xy else ' turn othertile ' xy getcomputermove(mainboard' ' makemove(mainboard' 'xy if getvalidmoves(mainboardothertile=[] break else turn othertile display the final score drawboard(mainboard scores getscoreofboard(mainboard print(' scored % points scored % points (scores[' ']scores[' ']) if not playagain() sys exit(how the aisim py code works the aisim py program is the same as the original reversi programexcept that the call to getplayermove(has been replaced with call to getcomputermove(there have been some other changes to the text that is printed to the screen to make the game easier to follow when you run the aisim py programall you can do is press enter for each turn until the game ends run through few games and watch the computer play itself since both the and players are using the same algorithmit really is just matter of luck to see who wins the player will win half the timeand the player will win half the time post questions to