Mclilzee / zap-simulator

Zap Matrix Simulator
https://mclilzee.github.io/zap-simulator/
Other
4 stars 16 forks source link

Feature/Refactor JS Code #61

Closed Ishmam156 closed 2 years ago

Ishmam156 commented 2 years ago

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