added repeat setting for playing many games