Showing results for 
Search instead for 
Did you mean: 

Tetris in LabView problem with move blocks


I try to make Tetris in LabView.  I have problem with stop blocks on the last field and move blocks left and right.

Does anyone have an idea how to solve it?

0 Kudos
Message 1 of 4

Well, first look at the all the posts here.


Now you need some kind of collision and boundary detection. You'll figure it out. 😄

Message 2 of 4

Another tip, make it such that the occupied elements are FALSE and the available elements TRUE (you can change the T/F colors to get the desired visual). This way you can deal with out of bounds more easily, because indexing an element outside the valid range returns false and indicats that you can't go there.

Message 3 of 4
0 Kudos
Message 4 of 4