It's a pretty rare event. I'm not sure I've ever seen it happen in all my many games! Maybe the number of cubes on the board would be a good way to break a tie. Or you could just give each other a high-five and play again.

Can you think of any better ways?
'