I'm thinking of incorporating a versus/competitive system into my webgame ( ninjawars.net ), based off of the old "mastermind" game.
Let's call choosing the color dots in mastermind the "defensive" role, and determining what color dots were placed the "offense" role.
Mastermind is already competitive, but when creating the "color dots" there's a limited amount of added difficulty that you can create (e.g. all random color nodes using a random number generator is probably the most difficult you could get [I think that's true, random is the hardest case to crack, all one color is obviously the easiest]) but what I would like to do is be able to allow players to increase the difficulty from their defensive role by adding to the number of color dots that the defender can use. For example, instead of 4 dots, the defender could have, I don't know, 20 dots, much harder. Or only get to place 1 dot, so they have a much simpler defense.
So the question is, how do I determine good amounts of more dots to allow the defender? Some measure of the simplicity of determining 1 dot, all the way up to the difficulty of X (quite a few) of dots? I'd really like to be able to mathematically determine number of possible combinations, but I... ...guess I was asleep during that part of school...