I wonder if thats 40 caroms in cowboy? or 5 racks of 8 ball?
The caption mentions (and shows) cowboy pool: you play with 1, 3, 5 and can score with carom, bouncing the cue off 2 other balls, pocketing also scores the number on the ball till 90; till 100 only caroms score. to get 101 and win, you must scratch off the 1. Fun game, my favorite when not paying for each rack.