Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Construction #6

Open
4 tasks
jugglinmike opened this issue Sep 25, 2014 · 0 comments
Open
4 tasks

Construction #6

jugglinmike opened this issue Sep 25, 2014 · 0 comments
Milestone

Comments

@jugglinmike
Copy link
Collaborator

A Director class will create and control the game's Moles, although for now
we'll just work with a single Mole.

  • director.js (new file)
    • Create a JavaScript constructor that defines an el property as a DOM
      element.
    • The Director constructor should also create a Mole instance and
      store that as a property called mole. Append the mole's el to the
      director's el.
  • main.js
    • Remove the code that created the Mole instance
    • Create an instance of the new Director class and append its element
      to the DOM
@jugglinmike jugglinmike modified the milestone: The Director Sep 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant