All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad,
, is His slave and Messenger.
The games in which players pay money to be given to the winner among them fall into the category of gambling which Allah, The Exalted, prohibited in the Quran, as He Says (what means): {O you who have believed, indeed, intoxicants, gambling, [sacrificing on] stone altars [to other than Allah], and divining arrows are but defilement from the work of Satan, so avoid it that you may be successful. Satan only wants to cause between you animosity and hatred through intoxicants and gambling and to avert you from the remembrance of Allah and from prayer. So, will you not desist?} [Quran 5:90-91]
According to The Kuwaiti Fiqh Encyclopedia reads: “The Muslim jurists unanimously agreed on the prohibition of gambling. The Shaafi‘i scholars said that if it involves the condition that both sides pay money such that it would be given to the one who wins among them, then this is the prohibited gambling. They explicitly stated that it is a major sin in this case.” [End of quote]
Accordingly, it is impermissible to create a platform for gaming in the manner described in the question.
Allah Knows best.