Jump to content

matthike

Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Posts posted by matthike

  1. Hi

    I'm "trying" to make my own Tetris in labview but I've got some problems...

    the first one is: making the blocks

    my teacher told me I had to use 1 block (square) to make the 6 blocks necessary

    So I need to put that square block in a matrix (min 2 rows and min 2 cols)

    With numbers it is easy but how to do it with images?

    (I guess I need to upload that square block from and image file)

    because images are 2D-arrays themselfs ... which means I'll have an 4D array :s

    so well ... I'm stuck there :s

    another problem I have is that I don't manage to remove completed lines:

    I tried the delete array function but this one just puts a 0 instead of a 1 (so e.g : one full line is : 1 1 1 1 1 1 1 and becomes a 0 0 0 0 0 0 0)

    but I want to lower the rows... I don't know how to do that : probably with replace array subset but then again how ? :s

    plz help me with this :)

    thx a lot

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.