In a prosecution for gambling or gaming, in addition to penalties elsewhere provided, the jury shall find the amount won, and it shall be the duty of the court to enter judgment against the winning party for the amount so won, to be collected and paid over as fines.