-
Notifications
You must be signed in to change notification settings - Fork 0
Game
gigafiga21 edited this page Feb 23, 2020
·
2 revisions
Class, manages game process.
Here in gray written CSS selectors, in black - links to elements in the class instances.
-
DOM.game
contains class DOM -
DOM.statusbar
keeps game info and buttons divided by auto-growing flex element.divider
-
DOM.score
shows current score -
DOM.pauseButton
switches screens: from Game to Menu -
DOM.field
is table withCard
class instances in cells, when cards are taking (while animation in menu), they are moving inDOM.field
element -
DOM.deskContainer
contain cards fromDOM.field
when they are taking and menu screen appears (presented inMenu
DOM tree description)