Is working for IT Company that creates baccarat and roulette games haram

I have recently been offered a position in an it company that creates gaming product for baccarat and roulette games. In this position I’ll be expected to create software/ website for these games. But these games will be played in countries only where it’s legal to do so.

Is it haram to take up this job.

I’m from India.

Wa alaykum salaam,

From what you’ve described, it is very likely that you will be integral in the development of something unlawful in Shariah.

Allah knows best