Scholars differ. Many forbid it when it is played for money (as gambling, 5:90) or if it makes a person neglect prayer. The Shafi'i school permitted it as disliked, and the other schools often forbade it. Games that cause no sin or neglect are allowed in general, so avoid betting and keep prayer on time.
O les croyants! Le vin, le jeu de hasard, les pierres dressées, les flèches de divination ne sont qu'une abomination, œuvre du Diable. Ecartez-vous en, afin que vous réussissiez.
This is general information, not a fatwa. For your own situation, ask a qualified scholar.
Questions about halal and haram
Is chess permitted?
Scholars differ. Many forbid it when it is played for money (as gambling, 5:90) or if it makes a person neglect prayer. The Shafi'i school permitted it as disliked, and the other schools often forbade it. Games that cause no sin or neglect are allowed in general, so avoid betting and keep prayer on time.