How the Tetris Game Works???

Discussion in 'Programmer's Corner' started by Art, Feb 1, 2010.

  1. Art

    Thread Starter Distinguished Member

    Sep 10, 2007
    785
    61
    Hi Guys,
    I'd like to understand how Tetris works.
    I came up a little short looking for C or BASIC code I could read,
    but If I got a Human explanation, I think I could code it.

    One thing I have trouble with is how the blocks are stored,
    and how they are rotated.

    Any help would be appreciated.

    Cheers, Art.
     
  2. Art

    Thread Starter Distinguished Member

    Sep 10, 2007
    785
    61
  3. count_volta

    Active Member

    Feb 4, 2009
    435
    24
    Wow!!! I absolutely have to build that someday. Love tetris. Plus I'm Russian. ;)

    Do you have to use microcontrollers, what if I wanted to do it as a finite state machine using an fpga? Probably harder eh?
     
  4. Art

    Thread Starter Distinguished Member

    Sep 10, 2007
    785
    61
    I just released hardware and code. It's in the projects collection area of this forum :)
    I've never worked with an FPGA.
     
Loading...