Skip to content

Add a control for maximum guesses via a While loop with a counter, clean...#2

Open
mryman wants to merge 1 commit into
KeriBrady:masterfrom
mryman:master
Open

Add a control for maximum guesses via a While loop with a counter, clean...#2
mryman wants to merge 1 commit into
KeriBrady:masterfrom
mryman:master

Conversation

@mryman

@mryman mryman commented Jan 6, 2015

Copy link
Copy Markdown

... up formatting and add alert to notify player when max guesses have been exceeded.

…ean up formatting and add alert to notify player when max guesses have been exceeded.
Comment thread guessing_game.html

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use two-space, soft-tabs for indentation (for reading on github). thanks =)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of comparing to true, you can use if(isNaN(guess))

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

Successfully merging this pull request may close these issues.

2 participants