Gamblers can also gamble on horse races at legal racetracks located in Penang, Kuala Lumpur, and Ipoh. The Genting World Resort contains two legal land casinos, the Casino de Genting and Star Casino. A notable example is the Genting World Resort. There are several land-based casinos in the country where foreigners and tourists can still engage in gambling activity. 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.