All things in action, judgments, mortgages, conveyances, and every other security whatsoever, given or executed, by any person, where the whole or any part of the consideration of the same shall be for any money or other valuable thing won by playing at any game whatsoever, or won by betting on the hands or sides of such as do play at any game, or where the same shall be made for the repaying any