Gisle Vanem wrote:
> But with a 'LUA_PATH' set, it fails to find "KnuthSolver.lua".
> I have to clear it with 'set LUA_PATH=' first. Then the
> SlidingBlocks sample works.
Thanks for the report! Yep, I can reproduce the problem.
I think the solution is to replace this line in SlidingBlocks.lua:
require "KnuthSolver" -- implements Donald Knuth's solving algorithm
with this:
dofile("KnuthSolver.lua") -- implements Donald Knuth's solving algorithm
Andrew