private void UpdateCorrectScore() { int totalLines = 0; int realScore = 0; int adjScore = 0; List <int> lines = lastGameState.lineHistory; foreach (int line in lines) { if (totalLines > 100) { break; } totalLines += line; realScore += ScoreTable.getScore(line, 19); adjScore += ScoreTable.getScore(line, 19 + (totalLines / 10)); } realScore += lastGameState.softDropTotal; adjScore += lastGameState.softDropTotal; realScoreUI.text = realScore.ToString("000000"); adjScoreUI.text = adjScore.ToString("000000"); }