Reference for Sanhedrin 48:20
מאי בינייהו איכא בינייהו דגמר אומנותא אחריתי
<b><i>GEMARA</i></b>. What [wrong] does the dice player do? — Rammi b. Hama said: [Heis disqualified] because it [sc. gambling] is anAsmakta,<span class="x" onmousemove="('comment',' [H] 'speculation', from [H], 'to rely,' 'to support', is a term in civil law denoting a contract wherein each party promises to pay, on fulfilment of a certain condition which he expects will not be fulfilled. It is not binding according to some teachers, because the obligation has not been assumed with serious intent, since each hopes that his promise will be nullified by the non-realization of the condition. Gambling, as in this case, is an excellent example, for in it, A promises B to forfeit a certain object or amount on the realization of a condition which he hopes and expects will not occur. ');"><sup>18</sup></span>