Thank you for your time 🙏🏻
This is what I have done in Playgrounds...
var printCards = "" // "No" required if "NOT" printing the cards
// Imported .csv file pasted in (var gameImport) below ////////////////
var gameImport =
"24,exam.dwindled.span,Short for examination,Reduced gradually in size,The total length of something from end to end,_ _ _ _ . _ w _ _ d _ _ d . _ _ _ n,16,///cracked.shadowed.private,The Vase was (?) when it toppled over,A part of the house is (?) by a tree every day,We like to talk in (?) when we want to keep it : secret,_ _ _ _ _ _ . _ _ _ _ _ _ . _ _ _ a t e,98,///spilling.dances.backbone,Causing or allowing liquid to flow over the edge : of its container,A series of steps that match the speed and : rhythm of a piece of music,The column of bones in the back which sustains : and gives firmness to the frame,_ p _ l l _ n . a _ c _ s._ a _ _ b _ n ,93,///inwards.habitat.buttered,Toward the centre or interior,Place where anything is commonly found,Covered or spread with butter, _ _ w _ r _ . a b t _ t._ u _ _ e _ e d, a e m x , d i l e n , p a s , d r a c c k e , d s a d o w e h , v r p i , g i s i , n d e , k o b c e , n s i a d , i h a , t b r t"
///////////////////////////////////////////////////////////////
var redTeam = " : RED TEAM :"
var blueTeam = " : BLUE TEAM :"
var cardDivider = "......................................................................"
var start = "Card Position : Start"
var positionOne = "Card Position : Position One"
var positionTwo = "Card Position : Position Two"
var positionThree = "Card Position : Position Three"
func printCardsPlease() {
if printCards == "No" {
start = ""
positionOne = ""
positionTwo = ""
positionThree = ""
redTeam = ""
blueTeam = ""
}
}
let lineSpace = "" // print(lineSpace) to insert a blank line
// Red Team Variables
var redFirstCardNumber = ""// Red 1st Clue Card
var redFirstCardWhat3Words = ""
var redFirstCardFirstWordClue = ""
var redFirstCardSecondWordClue = ""
var redFirstCardThirdWordClue = ""
var redFirstCardClueForm = ""
var redSecondCardNumber = ""// Red 2nd Clue Card
var redSecondCardWhat3Words = ""
var redSecondCardFirstWordClue = ""
var redSecondCardSecondWordClue = ""
var redSecondCardThirdWordClue = ""
var redSecondCardClueForm = ""
var redThirdCardNumber = ""// Red 3rd Clue Card
var redThirdCardWhat3Words = ""
var redThirdCardFirstWordClue = ""
var redThirdCardSecondWordClue = ""
var redThirdCardThirdWordClue = ""
var redThirdCardClueForm = ""
var redFourthCardNumber = ""// Red 4th Clue Card
var redFourthCardWhat3Words = ""
var redFourthCardFirstWordClue = ""
var redFourthCardSecondWorcClue = ""
var redFourthCardThirdWordClue = ""
var redFourthCardClueForm = ""
var redFirstCardFirstWordLetters = "" // Red 1st Card Letters
var redFirstCardSecondWordLetters = ""
var redFirstCardThirdWordLetters = ""
var redSecondCardFirstWordLetters = "" // Red 2nd Card Letters
var redSecondCardSecondWordLetters = ""
var redSecondCardThirdWordLetters = ""
var redThirdCardFirstWordLetters = "" // Red 3rd Card Letters
var redThirdCardSecondWordLetters = ""
var redThirdCardThirdWordLetters = ""
var redFourthCardFirstWordLetters = "" // Red 4th Card Letters
var redFourthCardSecondWordLetters = ""
var redFourthCardThirdWordLetters = ""
// etc
// Convert (gameImport) to an Array (gameImportArray)
let gameImportArray = gameImport.components(separatedBy: ",")
printCardsPlease()
// RED TEAM
// First Card
print (" : RED TEAM :")
print (start)
redFirstCardNumber = gameImportArray [0]
print ("Card Number : (redFirstCardNumber)")
redFirstCardWhat3Words = gameImportArray [1]
// print("What3Word : (redFirstCardWhat3Words)")
redFirstCardFirstWordClue = gameImportArray [2]
print("First Word Clue : (redFirstCardFirstWordClue)")
redFirstCardSecondWordClue = gameImportArray [3]
print("Second Word Clue : (redFirstCardSecondWordClue)")
redFirstCardThirdWordClue = gameImportArray [4]
print("Third Word Clue : (redFirstCardThirdWordClue)")
print (lineSpace)
redFirstCardClueForm = gameImportArray [5]
print("Answer : (redFirstCardClueForm)")
print (lineSpace)
redFirstCardFirstWordLetters = gameImportArray [24]
print("First Word Letters : (redFirstCardFirstWordLetters)")
redFirstCardSecondWordLetters = gameImportArray [25]
print("Second Word Letters : (redFirstCardSecondWordLetters)")
redFirstCardThirdWordLetters = gameImportArray [26]
print("Third Word Letters : (redFirstCardThirdWordLetters)")
print (cardDivider)
// etc