What Is Betting
In Gambling, one party is always winning the other person’s money based on a game of chance. Here, one person rewards the other person for showing skills in general knowledge or in telling jokes. The other person is not involved in this and does not lose his money. Therefore, this is not gambling.
I have a friend we had decided that the person who gets more marks in exams will give the other person treat would this be permissible to do so?