Gin rummy, or Wacholderschnaps for short, is ordinarily a two-player activity, but it can be adapted to get 3 or…