There’s a running gag in archaeology that variations on “ritual purposes” actually means “I have no idea what this was for”.
That said, there has historically been a connection between certain divination practices and games of chance, so this could easily be both.
Right, like the guy with the negatronic brain isn’t going to be evil. Come on!