Increase the scores by 2 points

PHOTO EMBED

Mon Jan 31 2022 17:00:47 GMT+0000 (Coordinated Universal Time)

Saved by @perrygupta #swift

    func flagTapped(_ number: Int){
        
        if number == correctAnswer{
            scoreTitle = "Correct!"
            totalScores += 2
        }else{
            scoreTitle = "Wrong!"
        }
        questionTries += 1
        if questionTries < 8{
            showingScore = true
        }else{
            gameOver = true
        }
    }
content_copyCOPY