Is it permissible to play chance games in order to give the winnings to charity?
No, it is not. Chance games are gambling and gambling is unlawful.
According to a principle in Islamic law, “Good intentions do not make unlawful actions permissible”. Therefore it is not permissible for a Muslim to play chance games no matter what his/her intentions are.