The ball in game 8

THE ALGORITHM OF THE TABLEAU FOR 40 CELLS

The values on the tableau are placed in random order. The speed of the "cursor" is constantly the same. Each significant hit of the ball on the table "extinguishes" the cell on which the cursor is located. From this point on, when you move the cursor, this cell is skipped. The seventieth significant hit of the ball on the table surface stops the cursor, thus defining a cell with a numeric value from 1 to 40. The numeric value corresponds to the number of bonus points that are added to the bonus score of the current match. After that, the scoreboard goes off and after a while the cycle starts again.