Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Hugo Javadi
14,559 PointsMy First JavaScript Game
Any feedback would be greatly appreciated. Thank you
3 Answers
Steven Parker
243,160 PointsThe concept is really cute, but it would be nice to have some instructions to explain how to use the buttons. Some seem to be for selecting traits, but others seem to eliminate them.
Also, there doesn't seem to be a way to reverse a selection made in error, that would be very helpful.
And I was expecting some kind of feedback and a clear ending (win, lose, etc) but did not get either.
Hugo Javadi
14,559 PointsThank you for taking the time to give feedback Steven. The game is based on the board game Guess Who.
"The object of the game is to be the first to determine which card one's opponent has selected. Players alternate asking various yes or no questions to eliminate candidates, such as "Does your person wear glasses?" The player will then eliminate candidates (based on the opponent's response) by flipping those images down until all but one is left. Well-crafted questions allow players to eliminate one or more possible cards."
In this case the browser is the opponent (it generates a random character) and to ask a question you click one of the buttons. There is an ending once you guess the mystery character.
You are so right! This needs to be way more clear in the game. Thanks Steven!
Steven Parker
243,160 PointsI tried it again now that I know what the buttons are doing. And I was able to win!
A few more suggestions:
- fill in the guess by clicking on the image and/or name (so no typing needed).
- show a message along with fading away those eliminated (like "They do wear glasses")
- keep and display a question/button count (like "you got it with only 3 questions!")
Post again when you make improvements!
Hugo Javadi
14,559 PointsYour suggestions have all been implemented into the game sir. Thanks again for giving feedback!
Steven Parker
243,160 PointsGreat first effort, I hope we will see more from you in the future!