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
en:python:tictactoe:step006 [2020/05/13 14:16]
en:python:tictactoe:step006 [2020/06/12 12:59] (current)
horst []
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 ===
Line 762: Line 770:
-| [[step05|←previous page]]  |  [[start|start page↑]]  |  [[step007|next page→]] |+| [[step005|←previous page]]  |  [[start|start page↑]]  |  [[step007|next page→]] |
en/python/tictactoe/step006.1589372192.txt.gz · Last modified: 2020/05/13 14:16 by horst