Developing a algorithm to produce matches for android game?
<p>I have a class that is responsible for creating matches that the user has to complete. After the user completes the match another random match is then loaded..</p>

<p>For example, user has to match cards..Red, blue, green. User does this and competes the match.</p>

<p>Next match is load user must now complete match cards..green, blue, red.
Etc etc</p>

<p>So now the game will be level based so some how i need to incoporate the level number into the algorithm. I am also using levels to add new matches the user has to do and the more complicated the matches become.</p>

<p>So my question is, how do i develop a algorithm to produce items to the user..</p>

<p>Here is a scenerio:</p>

<p>The user starts the game on level one. During level 1 there is only 3 match cards that can be used..The game generates 6 rounds of matches for the user. Once complete on to level 2. In level two a new card is added. Now the game can use 4 cards to create match challengers for the user. The game generates 6 rounds with those for cards all randomized, and then the user is on the next level..</p>

<p>Hope this all makes sense. So now i just need to develop a algorithm for this. Which is why i am reaching out for help.</p>

<p>Thank you.</p>
