by wmshub
11 is cutting it pretty tight but it probably OK. Worst case, you'll have two or three of one color in the code, leaving 8 or 9 for the player; if the player figures out that color quickly but takes their time with the rest, you may run out.Not sure what the black pegs are; do you mean the scoring pins? Those are red and white in my set. For those you would want much more than 10 of each color, otherwise you will run out in a long game.