Learning to Play Gin