Add optional combo-based scoring system#8
Open
karanmhatre1 wants to merge 2 commits into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds an optional combo-based scoring system with animated notifications, controlled by a new
-combo-modeflag.Features Added: