Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scoring #15

Open
taliyos opened this issue Jul 29, 2022 · 2 comments · Fixed by #17
Open

Scoring #15

taliyos opened this issue Jul 29, 2022 · 2 comments · Fixed by #17

Comments

@taliyos
Copy link
Owner

taliyos commented Jul 29, 2022

A scoring system should be implemented to keep track of how the player is doing. This will additionally be useful when determining how to send "garbage" over the other players in multiplayer.

Scoring should be similar to Puyo Puyo, where continuous layers of chains are given higher rewards than a single layer.

Additional details will need to be researched.

@taliyos
Copy link
Owner Author

taliyos commented Jul 29, 2022

Scoring for Puyo Puyo is documented well at PuyoNexus.

The score per chain depends on a few different factors:

  • The number of puyos cleared at once
  • Chain Power (Seems to be an additional modifier related to the number of puyos in the chain)
  • Color Bonus (Score modifier related to the number of different puyo colors cleared at once)
  • Group Bonus (The number of puyos cleared in a single line/chain)

The formula is:

Score = (10 * puyosCleared) * (chainPower + colorBonus + groupBonus)

Since the terminology between Oypu and PuyoNexus is different (chain in Oypu refers to a group of 4 or more pieces of the same type that are connected while I think PuyoNexus uses chain to refer to the layers of pieces being destroyed before the next piece starts), here's some more details.

Score = (10 * totalPiecesClearedInLayer) * (chainPower * colorBonus * groupBonus)

chainPower =

1 2 3 4 5 6 7 8 9
0 8 16 32 64 96 128 160 192

(Increases by 32 after the 3rd chain)

colorBonus =

Types Bonus
1 0
2 3
3 6
4 12
5 24

groupBonus =

Pieces in Chain Bonus
4 0
5 2
6 3
7 4
8 5
9 6
10 7
11+ 10

@taliyos taliyos mentioned this issue Aug 2, 2022
@taliyos
Copy link
Owner Author

taliyos commented Aug 5, 2022

Scoring wasn't fully implemented, so I'm leaving this open.

@taliyos taliyos reopened this Aug 5, 2022
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 a pull request may close this issue.

1 participant