stacksmashing / gb-tetris-server

GNU General Public License v3.0
145 stars 8 forks source link

add proper HIGH setting support #4

Open KuestenKeks opened 3 years ago

KuestenKeks commented 3 years ago

In multiplayer, players can set a HIGH mode setting between 0 and 5. This should behave like in a B-Type singleplayer game where you get a few scrambled lines at the bottom which makes the game more difficult. A value of 1 would result in 2 scrambled lines and a value of 5 would result in 10 scrambled lines.

But when I set HIGH to 5 I'll start my game with 10 totally filled up rows that get cleared immediately when my first block drops: bug

I think the server has to send those scrambled lines to the connected clients. This is how it looks in a real 2 player game: IMG_20210614_183921 (Mittel)

Note that the first scrambled rows are identical for both players. The left player has a HIGH value of 5 while the right player has a HIGH value of 2

I guess the server could also support funny modes where players start with a heart shape they have to clear or sth. like that ^^

Cheers! :)

nezza commented 3 years ago

Wow, I think you just uncovered what the last remaining unknown bytes in the Tetris protocol are! Have to try that tomorrow!

Thanks for raising the issue, I never really tried with HIGH value, so this explains a lot!

Cheers, Thomas

CoolCat467 commented 3 years ago

How is progress?