The following PR refactors the current JS code into factory functions and also introduces a ScreenController module to handle the logic flow of the app. The separation of code into functions is an attempt to separate handling the app state within JS and the DOM only reflecting changes in the app state.
Additional information
This is related to an open issue regarding refactor #42
Description
The following PR refactors the current JS code into factory functions and also introduces a ScreenController module to handle the logic flow of the app. The separation of code into functions is an attempt to separate handling the app state within JS and the DOM only reflecting changes in the app state.
Additional information
This is related to an open issue regarding refactor #42