Keep track of a Roulette game
Python, 443 440 chars

R=range
N=37
V=91447186090
M={'e':R(0,N,2),'o':R(1,N,2),'r':[i for i in R(N)if V&gt;&gt;i&amp;1],'b':[i for i in R(1,N)if~V&gt;&gt;i&amp;1],'1-18':R(1,19),'19-36':R(19,N)}
for i in R(1,4):M['c%d'%i]=R(i,N,3);M['d%d'%i]=R(i*12-11,i*12+1)
for i in R(1,N):M[`i`]=[i]
B=[]
r=raw_input()
while'ok'!=r:x,k=r.split();B+=[(sum((M[y]for y in x.split(',')),[]),int(k))];r=raw_input()
z=input()
c=0
i=1
for b,k in B:v=36/len(b)*k*(z in b);print i,v;c+=k-v;i+=1
print'c',c


Makes M, a map from bet names to a list of numbers that win that bet.  Then it reads the bets in, storing each one as a pair (list of numbers, dollar amount) in the list B.  Finally, reads in the spin z and computes the payouts.