Im doing an pixel painter cose where im making tetris and by doing this i used a matrix which obviously loops through the rows first then thencoloumns and then paints the pixel where theres a "#" on the text file and skips where theres "." On the text file. This method is too long so j wanted to know how do i loop through only the rows and return the same answer | Sololearn: Learn to code for FREE!

0

Im doing an pixel painter cose where im making tetris and by doing this i used a matrix which obviously loops through the rows first then thencoloumns and then paints the pixel where theres a "#" on the text file and skips where theres "." On the text file. This method is too long so j wanted to know how do i loop through only the rows and return the same answer

4/28/2017 8:04:06 PM

Penny Jacobs

1 Answer

New Answer

0

please let us see your example code so we know exactly what you're talking about.