TODO: see https://github.com/xtreme8000/BetterSpades/commit/5dcbedb4ddbea691f102309d7b7c6ab17b9af3ce