Jump to content

how to make<1> index of an Array and <2>Indexes of Index


vikal

Recommended Posts

well

 

let's see the example..to understand the my problem

 

i am trying to making Bingo game using php..since there is no problem while generating 25 unique random numbers in 5X5 matrix out of 90 given numbers..now problem is in next step while selecting a bingo number (out of 25 ie from 5X5) we need to select store this no in an array...but we have already put 25 numbers in an array...so in this case we have to make an index...to store that Bingo number....

 

since this bingo number need to compare with another Bingo number..if similar system discard that number and at the next move if compare n did not match then put it to the same place where a first bingo number was kept..

 

like this there will be a pattern of bingo....

 

 

now simply gave me the solution of this problem...i am having problem while implementing it

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.