Hi,
for a bingo game, I'm looking for a way to randomly fill a matrix of 18 rows by 9 columns with only 90 numbers (1 - 90). This means there are 72 open positions (or filled with zero's).
There are some rules to be applied to fill the matrix:
Anyone some thoughts on how I can do this?
I can manage to get each row only using 5 number, the right set of number in every column but I cannot manage to get the total number by column correct....
Thanks for your input.
Maarten
for a bingo game, I'm looking for a way to randomly fill a matrix of 18 rows by 9 columns with only 90 numbers (1 - 90). This means there are 72 open positions (or filled with zero's).
There are some rules to be applied to fill the matrix:
- Each row can only have 5 numbers
- The first column has 9 numbers
- in the first column number 1 - 9 are used
- 2nd till 8th column have 10 numbers
- in the 2nd column number 10 - 19 are used
- in the 3rd column number 20 - 29 are used
- ...
- Last column has 11 numbers (numbers 80-90)
Anyone some thoughts on how I can do this?
I can manage to get each row only using 5 number, the right set of number in every column but I cannot manage to get the total number by column correct....
Thanks for your input.
Maarten