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 trialNICHOLAS Riggs
2,031 PointsNeed help building a number generator app.
Hello all!
I am looking for the best approach to creating a number generating app. What this app needs to do is take 12 existing circles with values in them, and randomly shuffle them around and be able to return a result which produces a random answer based off the maximum number of combinations and possibilities that can be created.
Can someone give me some advice on how to do this or what approach should be taken?
This is for an important project, I would be grateful for any help.
Thank you!
Steven Parker
231,269 PointsSteven Parker
231,269 PointsShuffling 12 items is pretty easy, but I'm not sure I understand what you mean by "a random answer based off the maximum number of combinations and possibilities".
When you shuffle 12 items, there are 479,001,600 possible combinations. Is the random "answer" you are talking about just one of those combinations?