Add combo system that tracks consecutive line clears with next piece

This commit is contained in:
cmclark00 2025-03-27 08:51:10 -04:00
parent 2c7639a861
commit 44c4c73feb
4 changed files with 54 additions and 8 deletions

View file

@ -203,6 +203,7 @@ class MainActivity : AppCompatActivity() {
binding.scoreText.text = score.toString()
binding.currentLevelText.text = level.toString()
binding.linesText.text = lines.toString()
binding.comboText.text = gameBoard.getCombo().toString()
// Force redraw of next piece preview
binding.nextPieceView.invalidate()