Due to added latency of the web-based compilers hosting the pygame demo, the depth of the MiniMax algorithm has been reduced from seven to four or five, depending on the website. The original code is also available for download on GitHub.
Slower but has captions and a nicer interface:
Faster but slightly buggier: