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 trialTegar Putra
5,820 PointsShould i createToken = 21 ? if can't what exactly reason for this ? and what function num ?
i wondering about that for along time. anyone know this ?
1 Answer
Marcin Lipski
9,947 Points21 tokens for 1 player, means 42 tokens for 2 players which is tokens total. The only way to distribute 42 between columns and rows in a board is: 6x7 or 7x6 which is a standard for "four in a row".
Michael Williams
Courses Plus Student 8,059 PointsMichael Williams
Courses Plus Student 8,059 PointsI'm not quite sure I understand your questions here. Could you elaborate and give some context?