The Python Game Book

code games. learn Python.

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:python:tictactoe:step006 [2020/05/13 14:16]
en:python:tictactoe:step006 [2020/05/14 10:23]
Line 729: Line 729:
 </file> </file>
 </tabbox> </tabbox>
 +=== AI performance ===
 +The table and the charts below give insight how good the different AI's play against each other. Notice the difference of being the first player versus being the second player! Not often, but still sometimes, even the 'hard' AI looses against the 'easy' AI. 
 +=== perfect AI ===
 +I let the task of writing better or even perfect AI's for this game to the reader. The [[|wikipedia article about TicTacToe]] describe 'perfect' play strategies for both players. Notice that TicTacToe is a [[|solved game]] .. a perfect strategy exist.
 === output as csv file === === output as csv file ===
en/python/tictactoe/step006.txt ยท Last modified: 2020/06/12 12:59 by horst