Praise be to Allah.
Games that rely on luck, conjecture and guessing are regarded as haraam by a number of fuqaha’, by analogy with dice games.
Dice, as it says in al-Mawsoo‘ah al-‘Arabiyyah al-‘Aalamiyyah, are small cubes that are used in some games of chance, such as craps, which is a gambling game played with two dice. Dice are also used in backgammon, Monopoly and other board games. Each dice has six sides, on each of which there are between one and six dots. End quote.
Playing with dice is haraam, because of the report narrated by Muslim (2260) from Buraydah ibn al-Husayb (may Allah be pleased with him), that the Prophet (blessings and peace of Allah be upon him) said: “Whoever plays with dice, it is as if he were dipping his hand in the flesh and blood of a pig.”
Abu Dawood (4938) and Ibn Maajah (3762) narrated from Abu Moosa al-Ash‘ari that the Messenger of Allah (blessings and peace of Allah be upon him) said: “Whoever plays with dice has disobeyed Allah and His Messenger.” Classed as hasan by al-Albaani in Saheeh Abi Dawood.
an-Nawawi said in Sharh Muslim:
This hadith was quoted by ash-Shaafa‘i and the majority to support the prohibition on playing with dice.
What is meant by dipping his hand in the flesh and blood of a pig whilst eating from them is to liken this prohibition [on playing with dice] to the prohibition on eating those things. And Allah knows best. End quote.
Some of the fuqaha’ included dice games any game that relies on luck and guessing with.
Ibn Hajar al-Haytami said in Tuhfat al-Muhtaaj Sharh al-Minhaaj (10/215): It is haraam to play with dice according to the correct view, because of a report narrated by Muslim which says that whoever plays with dice, it is as if he were dipping his hand in the flesh and blood of a pig, and according to a report narrated by Abu Dawood, he [the one who plays with dice] has disobeyed Allah and His Messenger.
Playing with dice is completely based on conjecture and guessing, and is very foolish and silly.
Ar-Raafi‘i and those who followed him said what may be summed up as: An analogy may be drawn with them [i.e., dice and chess] to include other similar types of games. So any game which depends on calculation and thinking, such as lines from which and to which pebbles are moved, based on calculation, are not haraam.
Any game that relies on chance is haraam.
That also includes playing cards. End quote.
See also: Nihaayat al-Muhtaaj (8/295).
The Permanent Committee (15/231) issued a fatwa prohibiting playing cards, even if the game is not played for money. A similar fatwa was issued by Shaykh Ibn ‘Uthaymeen (may Allah have mercy on him). See: Qadaayaa al-Lahw wa’t-Tarfeeh by Madoon Rasheed, p. 186.
With regard to chess, most of the scholars are also of the view that it is forbidden to play it.
Al-Bayhaqi narrated in as-Sunan al-Kubra (10/212) from ‘Ali (may Allah be pleased with him) that he passed by some people who were playing chess, and he said: What are these statues that you are so devoted to?
See also the answer to question no. 14095.
With regard to the prohibition on playing with cards, see the answer to question no. 12567.
Conclusion: we should completely avoid games that rely on chance or luck. There are plenty of other games that rely on intelligence and movement.
And Allah knows best.