Connections Score Calculator

              🟪 Purple    4pts
              🟦 Blue      3pts
              🟩 Green     2pts
              🟨 Yellow    1pt

              1st line  4pts
              2nd line  3pts
              3rd line  2pts
              4th line  1pt

              Failed attempt -1pt

              Total score = color x line points - failed attempts