This is an old project. I did the first version a few years ago and revisited it last year to make it use web workers. Under the hood, it’s a simple min-max algorithm, but on the highest levels, it’s tough to beat. I’ve learned a bit since I first wrote it, so I’d probably do it differently now, but it’s still a good demonstration.

Single Threaded

Web Workers