For example, index.html may import multiple JS files, each representing a different logical component of our app.
The browser reads these files one at a time in the order the script tags appear in the HTML.
Once they are all loaded these files act as if you combine them together and run them.
All values available in one file are available in another.
// this will error. the browser hasn't read gameInit.js yet.
// PI is accessible because index.html imports globals.js before gameInit.js.
let playerTurn =1;
Split one of your programs into at least two files. Paste the code below into your repo's eslintrc.js file if eslint keeps changing let to const when you don't want it to.