notes:
$ connecting html to JS: type of html pixel will be set by added CSS class
-
-
INVENTORY:
- tools: [new Tool("Hammer", "steel")]
- heldOre: APP.currentOre
-
DOM_RELATED:
-
APP:
currentTool:
currentOre:
-
World
2 d array: y = ["x",...]
-
themes -
Tool
name:
ore:
CSS class: ${Ore}toolButton
Html Button:
-
Pixel
-
Sky
-
Dirt
-
Stone
-
Plant
-
Clouds
-
-
-
-
- game menu
- tools
-
- columns
- pixels
- logo
-
- start
- how to play (bootstrap alert)
scores (bootstrap alert - for us you are alwayes the winner)about (bootstrap alert)
-
-
- ores classes
- @Media Query: world size by screen type -> view port width (phones)/ view port length (desktop);