6 ms·
Making a tic-tac-toe game with ‘randomness’ using pure HTML and CSS
- TigerPrawn44 2y agoThis is going take me a while to read and understand, but the concept is insane
- yolkedgeek 2y agowe 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.
- tene80i 2y agoWhy 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…
- bfung 2y agoIt’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.
- chuckadams 2y agoSorry, we’ll be sure to only mention cryptographically strong tic-tac-toe games in the future.
- ludwik 2y agoThe 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.
- pimlottc 2y agoThe random function doesn’t seem to work on mobile Safari. Hitting the “random” button does nothing.
- hcs 2y agoAh, random opponent. From the headline I was expecting something like Incomplete Information Tic-tac-toe https://www.smbc-comics.com/comic/incomplete https://www.smbc-comics.com/comic/incomplete
- blt 2y agoNothing happens when I click anywhere in Firefox 115 on MacOS.
- dcreater 2y agoDid it have to look so ugly?