The mechanism of the game is illustrated as below,I hope it will help. My main concern is how to calculate the total line formed for all possible numbers been drawn.
https://www.physicsforums.com/attachments/46168
This is the "well" game (in Chinese) similar to Sudoku. It has 9 areas with different colours. I will draw one number from each area. In order to have a line, at least 3 number drawn must be same row, column or diagonal. I will illustrate an...