It's 800 in CS (all CS, I think, via `sv_gravity`) and I just edited the post to make this clearer as it's e.g. 600 in HL2 (and I jump around between games a bit).
Author here. The owner of sokobano.de/wiki/index.php?title=Solver_Statistics is currently independently verifying the performance of my solver (and the early signs look good)!
"I think in this agentic age of software, you have to want the goal as much as the agent. Yes, anyone can build software. But you need to care about it, you need to love it. The human focus and effort remains." Great quote
Really cool work and great post! Brings back fond memories of playing this as a kid!
I got curious about how well it would perform if ported to C#, as I've been getting some great results porting and optimizing C/C++/Rust code to C# lately.
If you're interested, here's my take (built with Sonnet 5.5):
Took some ideas on optimizing memory usage from chess solvers. Probably applies to the original Go code if you want to port it upstream.
The benchmark is still running, but the results so far look quite promising:
Go: Solved 1,927 in 1269s
C#: Solved 2,365 in 382s
The timings are for boards solved by both, and so far the C# version is showing roughly a 3x speedup over the Go implementation, while also solving more boards (running for a 10s time limit - I'll run it afterwards matching the 20s time limit to see).
Reasonably? Yes. Could probably be made to work well.
$ bat 2.ts
───────────────
1 │ function one() {
2 │ let x = 1;
3 │ defer (() => { throw new Error("thrown from one!"); })()
4 │ x = 2;
5 │ }
6 │ one();
─────┴─────────
$ node 2.js
~/healeycodes-typescript-go/2.js:29
throw _errors_1[0];
^
Error: thrown from one!
at _callee_1 (/Users/andrew/Documents/GitHub/healeycodes-typescript-go/2.js:9:46)
at /Users/andrew/Documents/GitHub/healeycodes-typescript-go/2.js:10:33
at one (/Users/andrew/Documents/GitHub/healeycodes-typescript-go/2.js:22:31)
at Object. (/Users/andrew/Documents/GitHub/healeycodes-typescript-go/2.js:34:1)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
at Object..js (node:internal/modules/cjs/loader:1961:10)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module._load (node:internal/modules/cjs/loader:1355:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain (node:internal/modules/run_main:154:5)
Node.js v24.15.0
Really glad you enjoyed it :)
reply