Implementing Tic Tac Toe with 170mb of HTML - no JS or CSS
Implementing Tic Tac Toe with 170mb of HTML - no JS or CSS

Implementing Tic Tac Toe with 170mb of HTML - no JS or CSS

Implementing Tic Tac Toe with 170mb of HTML - no JS or CSS
Implementing Tic Tac Toe with 170mb of HTML - no JS or CSS
Well now. A few things, here:
Google do seem to have a predilection for reinventing the past, poorly. I hear that their bonuses are based on inventing 'new' things, though, so it's in their interest to pass it off?
Indeed. One could have done the whole thing with a simple, static HTML page.
On top an empty board with 9 clickable fields. Each of them links to a new, pre-rendered board on the same page, with the move of the player and the perfect reply of the computer already in place, and 7 clickable fields. Which link to other, pre-rendered boards with 5 clickable fields remaining, then with three. The last one only has one field open, so this could be pre-filled as a player move.
All in all this would result in 9x7x5x3=945 pre-rendered boards max on that page. And, of course, two links to "You won" and "You Lost". I'm no HTML junkie, so I have no idea how many bytes one would need to produce such a board, but I'm sure this all could easily done way below 170MB.
Some of those boards are impossible, and there are multiple ways to get to most of them, so you only need maybe half of that. There are 5,478 possible valid boards in total if you allow the computer to play any legal move.
And that, kids, is why maths is absolutely necessary if you want to amount to anything more than a shitty webdev.
Which is also why I’m a shitty webdev
The guy in the blog says mb (millibits) and you say Mb (megabits). I was confused so I checked, and the page is 170MB (megabytes). I agree though, that's inefficient even for an intentionally inefficient idea.
a) does anybody actualy use that? How many people reading this thread can say they've actually seen that in real use or used it?
b) I'm fairly convinced you knew what was meant because it's not like it's uncommon to use a minuscule m for "mega" in colloquial usage
Weird performative pedantry or a joke that flew over my head? I give about a 0.5 probability for both