cs10 / bjc-r

The Beauty and Joy of Computing public resource repository.
https://beautyjoy.github.io/bjc-r
30 stars 101 forks source link

Number guessing using script vars for answer? #200

Closed cycomachead closed 9 years ago

cycomachead commented 10 years ago

Is it worth doing to enforce good habits?

xtitter commented 10 years ago

The solution? Absolutely. Send the solutions for all three hwks to the list, or me. I can take a pass

Nate fat-thumb Titterton On Feb 1, 2014 4:19 PM, "Michael Ball" notifications@github.com wrote:

Is it worth doing to enforce good habits?

Reply to this email directly or view it on GitHubhttps://github.com/beautyjoy/bjc-r/issues/200 .

cycomachead commented 10 years ago

Uh, I don't know if we have those, well, we do for #2 which is the most important.

I mostly meant the number guessing exercise in lab 3. Should we use the reporter ask, or at least use a script var?

aaaschmitt commented 9 years ago

@cycomachead I think the exercise looks fine as is. I'll let you close this if you want or if you really think it needs to be changed post a follow up here and I can get someone to do it.

cycomachead commented 9 years ago

If the current image still doesn't have a script var we should change it.

aaaschmitt commented 9 years ago

do you mean a script var to hold answer? there is one that holds the secret number, but not answer. I guess it would be good practice to use one...but idk might just make it more cluttered. Here's the page: https://inst.eecs.berkeley.edu/~cs10/labs/cur/programming/conditionals/number-guessing-game-v1-0.html?topic=berkeley_bjc/intro_new/3-conditionals.topic&step=14&novideo=true&noreading=true&noassingment=true&course=cs10_fa14.html

cycomachead commented 9 years ago

Eh, I guess that's fine. It might have been improved since this was filed...

cycomachead commented 9 years ago

At some point we should introduce a reporter answer block..but thats a separate issue.