Browser based game in p5.js framework. Car , controlled by arrow keys is used to dodge the obstacles.
chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security use above command in "Run" to open Chrome to disable security, allowing browser to run local files.
Keep all the files in the same directory.
In the index.html file , in the script tag use the correct path while importing p5.js library file from local directory.