It should work. Place game.lua where you want and call dofile('/.../game.lua') with absolute or relative path