Tabletop simulator doesn't implement any rules. It is a physics sandbox with the focus on game related physics. It's a ton of fun to play with, and infinitely flexible, since there's no coding of rules. It does have specific coding for cards, dice, and a few other things, but no game rules.