SRS Mechanics

Thread in 'Research & Development' started by Apekooi, 16 Nov 2011.

  1. Hello,

    I am currently working on making a tetris clone in Java, for a school project. The basics are all there, I am currently implementing SRS. The issue is the offsets for the rotations for an I-tetromino. Imagine it in its spawn state, on the bottom row, like such:
    XXXXXXXXXX
    XXXXXXXXXX
    XXXXX.XXXXX

    The dot marks the origin, according to the diagram found at the top of this page.

    Its rotation fails, because you end up with this:
    XXXXXXXXXX
    XXXXXXXXXX
    XXXXX.XXXXX


    Following the table, only the fifth and final translation/test results in a valid rotation, giving this:
    XXXXXXXXXX
    XXXXXX.XXXX
    XXXXXXXXXX
    XXXXXXXXXX


    As you can see, the only intersection is the rightmost, or bottommost block of the tetromino. This doesn't seem right, am I reading the table wrong or is the table itself wrong?
     
  2. Muf

    Muf

    SRS is wrong :V
     
  3. Yeah, that's accurate to SRS. Yeah, it's pretty weird and unintuitive. :p

    Fumen has an accurate implementation of SRS that you can play around with by using the < v ^ > ( ) buttons, and it produces the same results.
     
  4. I'm not very familiar with different Tetris rulesets, but it seems very strange to me that the one in the guideline is so unintuitive. Is there an established, more straightforward alternative?
     
  5. You could try Arika Rotation System. It is generally a lot more elegant when it comes to rotations on the floor; the basic rotation tables are generally designed to avoid stack collision when pieces are grounded, and -- unlike SRS, which has floorkicks that can pull pieces in odd directions -- its T/I piece floorkicks are designed to push the pieces straight up.

    Beside that, you're probably entering fan game territory. DTET Rotation System is an example of a rotation system from a fan game rule that is modeled after Sega/ARS style rotation tables while still taking a page from the symmetrical S/Z/I behaviors and powerful wall kicks of SRS.
     
  6. Thank you all very much. I had looked into Arika before, but I thought it was very similar. Your argument about fan games is very valid, however, and I wanted to stick to the guideline as much as possible
     
  7. Zaphod77

    Zaphod77 Resident Misinformer

    While the Guideline currently mandates SRS, in practice there appears to be a special exception for japanese arcade games, which are Authentic Tetris Games (tm) as of Tetris: The Grand Master.
     

Share This Page