wow! If this game got some more features this could be a great full game! also, I think the best layout is this:
oooxoooox
oxooooxoo
ooooxoooo
ooxooooxo
xooooxooo
with x as a cup and o as dice