tictactoe script - commented - may have pedagogical value

Rhodri James rhodri at kynesim.co.uk
Wed Sep 6 13:53:57 EDT 2017


On 06/09/17 18:16, Stefan Ram wrote:
> Dennis Lee Bieber <wlfraed at ix.netcom.com> writes:
>> 	Not to mention there are four rotations of the board, along with
>> reflections... One could, internally, keep track of the rotation needed to
>> normalize the first moves (eg: if a corner was the first move, rotate the
>> board as needed to make that corner the top-left; evaluate all moves from
>> there, and "de-rotate" the response).
> 
>    Whenever someone yells at me, »HTML is not a programming language!«,
>    I show them the interactive tic-tac-toe by Flo Kreidler, written in
>    pure HTML:
> 
> web.archive.org/web/20040428174214/http://www.geocities.com/flo_kreidler/tictactoe.html

Presumably they stop taking you seriously at that point?

-- 
Rhodri James *-* Kynesim Ltd



More information about the Python-list mailing list