Hmm, I think there's more to it than that. I was assuming that you would keep or discard the marbles to wind up with a better "hand" than your opponent.
However, if it's much simpler than that, I think I'll make a Chexx version of rockem sockem robots instead.
