Hello, i finished my javaSctipt final project (the GameBook).
It was my first scripting experience ever.
The basic problems i had was creating the command line that taking user's input (instead of prompt).
The second problem is to use MVC, i didn't get how to separate the script to different files.(when i tried, i got error: "functions is missing").
Basically, i had ideas and successfully implemented it in the project.
Here is the link: https://jsfiddle.net/MacroG0D/9g1130pm/
What do you think?