Skip to content

Add optional combo-based scoring system#8

Open
karanmhatre1 wants to merge 2 commits into
alwedo:mainfrom
karanmhatre1:feature/combo-scoring-system
Open

Add optional combo-based scoring system#8
karanmhatre1 wants to merge 2 commits into
alwedo:mainfrom
karanmhatre1:feature/combo-scoring-system

Conversation

@karanmhatre1

Copy link
Copy Markdown

This PR adds an optional combo-based scoring system with animated notifications, controlled by a new -combo-mode flag.

Features Added:

  • Points system: 10 points per line
  • Multiplicative scoring: 10 × lines² (10, 40, 90, 160 points for 1-4 lines)
  • Animated combo notifications: 3-blink animation for 2+ line clears

karanmhatre3 added 2 commits September 2, 2025 19:07
- Implement multiplicative scoring: 10 × lines² (10, 40, 90, 160 points)
- Add combo notifications with 3-blink animation for 2+ line clears
- Display points below "Lines Cleared" in both single and multiplayer modes
- Update protobuf to support points in multiplayer games
- Optimize layout to prevent "Next" piece displacement during combos
- Use simple ASCII combo text: ">> COMBO x2 <<", "*** COMBO x3 ***", "=[[[ COMBO x4 ]]]="

with help from Claude
- Add -combo-mode command line flag (default: false)
- Combo mode enables multiplicative scoring and animated notifications
- Default mode uses original simple scoring (10 points per line)
- Maintains full backwards compatibility
- Update Game constructor to accept combo mode parameter

Usage:
  go run main.go -combo-mode    # Enable combo features
  go run main.go               # Original behavior

with help from Claude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant