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

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.

Works :)

Adding a humour Story would be a real day booster :)

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!