Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript JavaScript Basics (Retired) Storing and Tracking Information with Variables The Variable Challenge

My "Make a Story Game". Please review it!!

Here is a link to my game. Suggestions and corrections are more than welcome!!

http://codepen.io/ajuchem/details/OVwRKW

5 Answers

Niclas Valentiner
Niclas Valentiner
8,947 Points

Decent little game but I'd suggest adding in a prompt for your sex too (being told I'm a girl is a tad odd). Perhaps a little hint about capitalization too?

Oh and since I just had to try and break it, consider looping the individual prompts until they get a non-empty value. Giving the game no input at all makes for a curious story.

Enjoy the results and praise.

Hi Niclas, thank you for your response! I agree with you that the game needs improvement! But the exercise was about what we have learned so far (variables and concatenation) but I definately have your suggestions on my list once I start learning more! :)

Niclas Valentiner
Niclas Valentiner
8,947 Points

Was just meant as "here are some things you can add to improve it." For whenever you can handle it and feel like doing it.

It's all just quality of life improvements that are good to get down early so they become second nature by later projects.

Abe Layee
Abe Layee
8,378 Points

Awesome:D Great work

Nice very funny!

Juan Aviles
Juan Aviles
12,795 Points

I'm on this challenge right now, and wanted to see what others have come up with. Yours is great!