mbkarle / mind-the-fog

Roguelike JavaScript game--mind the fog!
2 stars 1 forks source link

HTML Module Separation #120

Closed akarle closed 6 years ago

akarle commented 6 years ago

The Problem

I found a lot of duplicate code interacting with the #text_module html div. I want to unify and standardize these calls (and rename those buttons, looking at you #enter #descend #stay... )

What

Standardize the html modules to minimize the amount of direct jquery calls that we are making in the "game code"

Ideally, we would be able to separate all "game code" (combat, etc) from the html code.

akarle commented 6 years ago

I'm first going after the text module!