TGViewer
5 minutes of PHP 5 minutes of PHP @en_5minphp · 110 subscribers
Post #32 403
Offtopic again.

While I was chilling over the New Year holidays, I watched an interesting video: a breakdown of all the possible combinations in a game of tic-tac-toe.

How many combinations are there? A naive approach to count would be: 9 * 8 * 7 * ... * 2 * 1 = 362,880.

The video's author narrows it down to 14 unique combinations. Even more, if each player makes "optimal" moves, there are only 3 combinations! Sic!

This video intrigued me so much that I went through all the combinations, sketching out a tree of possible games on a piece of grid paper!

Enjoy watching: https://youtu.be/QNFQvX-MQgI?si=tkfRsRdByZydxb-z
  • 👍 2
More from @en_5minphp
  1. Dec 22, 2025Usefull top alternative for macOS: https://github.com/metaspartan/mactop
  2. Nov 7, 2025My feelings!
  3. Nov 2, 2025Just updated macOS to the latest version: Tahoe (26). My PHP and nginx are running through…
  4. Apr 12, 2025Yesterday, I stumbled upon a series of funny videos where popular movies were dubbed with…
  5. Mar 17, 2025I'm trying out a new keyboard: ZSA Voyager: https://www.zsa.io/voyager It has 52 keys. I'v…
  6. Mar 9, 2025Tried the "Augment Code" plugin for IntelliJ IDEA. It's yet another AI assistant, but this…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →