There must be good faith between them. The wager must not be forbidden by law. In general, it seems that a wager is legal and maybe enforced in a court of law, if it be not: Contrary to public policy, or immoral; or if it do not in some other respect tend to the detriment of the public.