I just recently completed this Project, and to be honest it was much harder than I expected it to be.
I tried to make it as functional as I could, by putting everything into a function and avoiding global variables as much as possible. Since this was my first time attempting to do so, I feel that my code is very “hacky”.
I am looking for feedback and advise on how I can modularise my code more to make it resuable in the future.
Here is the project link