To make the example clear, imagine that only 3 pools are fighting for victory: A, B, and C.
Clan A scored 40,000 points during the round, Clan B's Pool Score was 60,000 points, and C's score was 75,000.
Their Total Score is 175,000.
We have already said that the system distributes intervals between pools randomly, so it may happen that Pool B will be awarded an interval from 0 to 60,000, Pool A will fall into the interval from 60,000 to 100,000, and Pool C will get an interval from 100,000 to 175,000.
The converted hash, divided by Total Score in this case would be 144,064. We look at the intervals in which the pools hit. Pool C falls within the resulting remainder of the division, so they win the round.
The game will continue as long as the bitcoin blockchain works and as long as its blocks are mined by real mining pools.