However, this law does not extend to tourists and non-Muslims in the country.
This is enforced by the Malaysian Betting Act of 1953 under Sharia Law. According to Islam, gambling is haram and is seen as a forbidden activity by many. Malaysia is a country where a greater percentage of the population practices Islam. This includes online casinos and other games of luck. To give a short answer, all forms of online gambling activities are illegal in Malaysia.