Comment on Implementing Tic Tac Toe with 170mb of HTML - no JS or CSS
coloredgrayscale@programming.dev 1 year agoLook at the screenshot at the beginning of the article. Every possible state is stored in a div, with the state encoded in its Id. So it’s possible to reuse such “duplicate” states.
Strictly speaking, it would not be allowed for the same ID to occur multiple times.