Before this change, the debug mode starts even after all blocks are removed. I think both the standard mode and debug mode are treated as same. Then I abstract them.
NOTE: Remove judging if NODE_ENV === "development" because I think hiding the "debug mode" button is sufficient.
Refactor: It's confusing that dragAndMoveBall calls main. I couldn't figure out from the name
Merge if you like!
NODE_ENV === "development"
because I think hiding the "debug mode" button is sufficient.dragAndMoveBall
callsmain
. I couldn't figure out from the name