tictactoe script - commented - may have pedagogical value
Steve D'Aprano
steve+python at pearwood.info
Wed Sep 6 21:32:59 EDT 2017
On Thu, 7 Sep 2017 03:56 am, Chris Angelico wrote:
> On Thu, Sep 7, 2017 at 3:53 AM, Rhodri James <rhodri at kynesim.co.uk> wrote:
>> On 06/09/17 18:16, Stefan Ram wrote:
[...]
>>> 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?
>
> Yes, in the same way that people stopped taking me seriously when I
> implemented Fizz Buzz in CSS.
>
> Though they were rather amused...
CSS is Turing complete. If they stopped taking you seriously, that speaks
volumes about *them* rather than either you or CSS.
I am intrigued by the (alleged?) HTML version of tic-tac-toe. Can somebody
explain what it is doing and how it works?
--
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.
More information about the Python-list
mailing list