GithubHelp home page GithubHelp logo

hangman_game_week11_hw's People

Contributors

donghoonkim1226 avatar

Watchers

 avatar  avatar

hangman_game_week11_hw's Issues

Feedback - Week 11 Assignment

Hey @donghoonkim1226. I cloned your repo and was debugging my way around.

I'm looking at your comments about not fully understanding. What if I told you that we'll have a Game object, Word object and a Letter object. Each object's properties should look like:

Game = {wordBank:["foo", "bar"], guessesRemaining: 10, currentWrd: null}
Word = {"word":"foo","lets":[],"found":false}
Letter = {"charac":"f","appear":false} Letter = {"charac":"o","appear":false} Letter = {"charac":"o","appear":false}
Do you think you can refactor your code to be able to create a Game object and adjust your Word and Letter Constrcutor functions.

Give this a read (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects#Using_a_constructor_function) for help with the syntax and get back to me, about how you feel about constructor functions vs creating objects.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.