# Tournament: CONTEST N1 : 0G player class (Round 2)

Thread in 'Competition' started by Amnesia, 16 Oct 2008.

1. ### Zaphod77Resident Misinformer

true 8-way would let you soft drop diagonally.

I think the input logic should work like this for movement keys.

key 1 is pressed.
key 2 pressed while key 1 is down. key 1's input is cancelled, and key2's input is used.
key 2 is released. key 2 input is considered off, and key 1 input is considered on.
key 2 is pressed again. same thing happens.
key 3 is pressed, with key1 and key 2 still down. key 1 is considered permanantly released from this point. key 3 is obeyed. if it is released with key2 own, key 2 will be obeyed again.

which movement key is used is irrelevant.

Other possibilities.

L/R have priority over u/d. (tgM1 does this in inC)
U/D have priority over L/R (this seems to be what the previous poster was describing)
first key pressed has priority

I described "last key pressed has priority"

2. ### DeniaxBlockbox developer

Hmm, so there are more ways possible to interpret 8-way input..
I really don't know much about 8 way input , so you guys need to decide how 8-way should work, I will just make it

Please bare in mind that while it's quite easy to implement (1-2 days) it needs to be tested before the first contest starts because it could not work right, or worse, it could break the 4-way input.

3. ### tepplesLockjaw developer

A rule like that might cause misdrops:
1. Turn on SRS handling of the up key (called "hard drop" or "sonic lock").
2. Press your 8-way joystick or directional pad up. Now key1 is up, and the filtered input is "up". A piece drops and locks into place.
3. Roll to up+right. Now key1 is up and key2 is right, and the filtered input is "right".
4. Roll to up again. Now key1 is up, and the filtered input is "up". Another hard drop.
I had this problem in Lockjaw 0.11 through 0.12 and changed it to give the first key priority in 0.13.

4. ### Muf

Which is exactly what should happen. Why would you roll the stick to the up position if you don't intend to hard drop?

5. ### jujubeUnregistered

ideally, if key 2 isn't released until after the spawning of the next piece, key 1 should work when the new piece spawns. if you press left and down (lock), the current piece should lock, and the next piece should immediately start moving left when it spawns, before down is released. in other words, as long as you're pressing left, pieces are always trying to go left, regardless of whatever other keys you're pressing. there should be protection against double locking or double hard dropping which requires that down be released and pressed again to lock the next piece. but if i understand TAP/TGM3 behavior correctly, firm drop should act immediately on the spawning piece. IMO if (firm drop)+left are continually pressed with 8-way on, a piece should spawn at 20G in the center, then move left, lock delay expires, the next piece spawns at 20G center, etc.

that option sounds like it wouldn't allow locking or dropping while left/right is held. a little too close to standard 4-way.

hopefully Blockbox will allow for 8-way to be turned off for the benefit of joystick and gamepad users, unless you feel it's advantageous to have it on. deniax made firm drop available for each rotation system, which doesn't allow diagonal l+d or r+d movement anyway (diagonal movement that joystick/gamepad users may want when soft drop is present).

edit: if left and right are both held, then i think the last key pressed should take effect, and if released then the other key acts. if both are pressed in the same frame...i don't know, you should hear an annoying beep.

6. ### tepplesLockjaw developer

I rolled it up to hard drop one piece. The roll to up+right and back was noise, and the point of diagonal filtering is to deduce the most likely intended gesture from the noisy input. Perhaps your algorithm would work with a relatively long ARE, but with the <=3-frame ARE in flagship Guideline games such as Tetris Worlds and Tetris DS, you would end up with a lot of double hard drops.

An annoying beep from the game, or from the keyboard controller? I don't hear the latter when I play StepMania and do a left+right jump.

7. ### jujubeUnregistered

from the game i suppose the keyboard/keyboard controller should be able to handle any 2 simultaneous inputs.

better yet, nothing should happen, which is already the case in Blockbox (which may be due to 8-way input not working).

8. ### Zaphod77Resident Misinformer

For joystick, you want the first input to get priority.

but for keyboard, the last input gettig priority is better overall, i think.

9. ### Kitaru

Agreed here. When you roll your fingers about the keys, you have to worry about whether or not your fingers are coming off the keys in time for all of them to register properly. When I roll around Up->Left->Down, I want the piece to firm drop, shift, and lock on each key press; I don't want to continue shifting left once my finger has landed on the Down key.

10. ### AmnesiaPiece of Cake

AND THIS IS SPARTA !!!!!!!!!!!!!!!!!!!!!!!!!!!

First, I take the reference book I choosen 3 months ago :

then, I start from the "PREFACE", I only consider body texts, no title or photo comment..I put the first letter of each page on each player, respecting the order of registering :

Code:
-1 : Amnesia     w
-2 : Rosti      i
-3 : jujube      t
-5 : mufunyo     u
-6 : caffeine     w
-7 : kitaru      c
-8 : PetitPrince   i
-9 : Meroigo     e
10 : zaphod      i
11 : jan       m
12 : matt_hatter   t
13 : Red Star     t
14 : Shoryu      c
15 : Baxter      t
16 : Gangsta_Fish   t
17 : Burbruee     t
18 : Ai        t
19 : colour_thief   o
20 : Kevin Birrell  s
21 : Kotetsu     a
22 : DeHackEd     t
23 : Deniax      t
24 : M. Bison     w
25 : DIGITAL     t 
And finaly, a little sorting gives this :

Code:
blink      a
Kotetsu     a
kitaru      c
Shoryu      c

Meroigo     e
PetitPrince   i
Rosti      i

zaphod      i
jan       m
colour_thief   o

Kevin Birrell  s
Ai        t
Baxter      t

Burbruee     t
DeHackEd     t
Deniax      t

DIGITAL     t
Gangsta_Fish   t
jujube      t

matt_hatter   t
Red Star     t
mufunyo     u

Amnesia     w
caffeine     w
M. Bison     w


Everybody can see how lucky I am, I feel almost bad to have some so weak opponents in my group..I will try to be gentlemen..

11. ### Burbruee

Oh how I envy you to have such week opponents in your group.

And just to make things clear, only the winner from each respective group goes on to the second round right?
Oh and I really liked your randomizing system, I might borrow it for some smaller tournaments on another forum.

12. ### AmnesiaPiece of Cake

no, for each groups there is 2 winners..
The randomizing method has been proposed by caffeine, and that seems the only one way to randomly place the players in their groups..Except that everybody prepare and organize themself for registering in a several order, there is no way to know your opponents before the last guy registers..

13. ### Rosti LFC

No offence to PPrince or Meroigo, but I'm reasonably happy with my group

Also:
Nostradamus ain't got nothin' on me.

Where are the pictures now for the full tournament structure, with the 2nd round (round is a better word than 'turn') groups and the finals tree?

14. ### jujubeUnregistered

good job with setting everything up Amnesia.

i'm just glad the players in my group are frequently on #arika. it shouldn't be a problem getting the matches in. i should be available in a few hours if DIGITAL or Gangsta_Fish can play then.

15. ### KevinDDR

I'm ready for matches whenever. Baxter or Ai, let me know!

Also, I'd just like to say that Blockbox really kicks ass. I was playing with Deniax and Kitaru during lunch today, and the game really feels solid!

16. ### Ai

I'll play you later this week if it's okay. I'll practice some more first. Haven't played ARS multiplayer games for a while.

So many top players grouped together. Did you really play already Amnesia? Amyway good luck everyone!

17. ### DeniaxBlockbox developer

And here is the video from the first match played.
Sorry for the lack of sound and that not all matches were captured, I joined the game too late

Also, due to a snooper bug, it says "Deniax are you ready" , but it's _zaphod_ playing

18. ### AmnesiaPiece of Cake

Thanks a lot to both of them for having opened the party..

19. ### tepplesLockjaw developer

Snooping as usual, I see?

20. ### KevinDDR

Ai, Jan, and Blink snooped on the games between Baxter and myself.

I won, with a final result of 15-11. Really intense! Good games!