#David-Example-Game A small JS game example
- git clone [email protected]:bcokert/david-example-game.git
- git clone https://github.com/bcokert/david-example-game.git
- Enter Git Login
Open page.html in a browser to "Run" the game
- code.js - holds the "logic" of the game. Any user interaction should be setup here, as well as dynamic changes.
- graphics.css - holds the "appearance" of the game. Like regular css, this defines the appearance, but NOT the structure of your page.
- page.html - holds the "structure" of the game. Like regular html, this defines the structure, but NOT the appearance of your page.
Use page.html to add things like "windows", "objects", "ui zones", etc. Use graphics.css to define how those things look. Use code.js to change those things, add new things, and do whatever else dynamically.