-// TODO: https://github.com/webpack-contrib/worker-loader
-// https://stackoverflow.com/questions/48713072/how-to-get-js-function-into-webworker-via-importscripts
-// For asynchronous computer move search
-
-//self.addEventListener('message', (e) =>
-onmessage = async function(e)
-{
- switch (e.data[0])
- {
- case "scripts":