17 comments

[ 4.4 ms ] story [ 60.0 ms ] thread
This is going take me a while to read and understand, but the concept is insane
The random function doesn’t seem to work on mobile Safari. Hitting the “random” button does nothing.
we should not be throwing the word "random" around so loosely. this is pseudo randomness. The fact that it is only pseudo random should be mentiond in the writing.
Why should it? It’s clearly an article about doing neat things with CSS, not the technicalities of different degrees of randomness. Perhaps we should not be throwing around the word “should” so loosely…
It’s a toy tic-tac-toe game with no monetary or life threatening implications, no need to bring the security mindset into this discussion.

If someone copies this code and uses it in a non-toy application, well, that’s on them.

Sorry, we’ll be sure to only mention cryptographically strong tic-tac-toe games in the future.
The word "randomness" in the title is in quotation marks, which seems like a pretty clear indication that it's not referring to true randomness but to something random-like.
Did it have to look so ugly?
Next week: making a tic-tac-toe game look decent using JavaScript.