White British pupils were nearly three times more likely to have gambled (46%) compared with Pakistani British teenagers (16%), according to the research.

More than half of pupils questioned had spent real money inside online games, with more than one in four paying for so-called “loot boxes” or similar packs.

These have been criticised due to their heavy resemblance to similar features available in gambling websites or apps.

The findings were welcomed by the Gambling-Related Harms Group led by Bradford Council.

Craig Blundred, the council’s director of public health, said: “This study highlights the significant potential impact of gambling-related harms on children, young people and families.

“(It) reinforces the importance of our prevention, education and early intervention work.”

Admiral Casino has three 24-hour slot machine arcades in the city centre.

Its entrance policy states customers must be aged over 18 and ID will be asked for if the person looks under 25.

Previous estimates suggested about 10,302 children in the Bradford district were living in the same household as an adult who may have gambling-related issues.

In April a public health campaign warning young people and adults about the risks of gambling was rolled out across the city.

The project – called If I Only Knew – was aimed at 18 to 34-year-olds and used insights from those recovering from addiction and their families.

It was developed by national gambling harm prevention group Chapter One in partnership with the council after a report revealed “problem” gambling had cost the city £13.7m each year.

If you have been affected by any of the issues raised in this story, information and support can be found at the BBC’s Action Line.