Gambling losses (referred to as wagering losses) are deductible only to the extent of gambling winnings. However, the deduction for these losses is not one of the enumerated deductions that can be claimed directly from gross income; they can only be deducted from adjusted gross income, meaning you must itemize to deduct them.
A tax credit directly reduces tax liability, as opposed to a deduction that reduces income subject to tax.