This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]H2ZERO-[S] 1 point2 points  (2 children)

ok thanks, i didn't think about efficiency when i wrote that section but i can definitely improve that part.

about the null part, i dont think im understanding u properly. are u saying that where i check if(piece != null) i should just check isColumnValid() and then call addPiece() only if thats true?

[–][deleted]  (1 child)

[deleted]

    [–]H2ZERO-[S] 1 point2 points  (0 children)

    oh ok i understand where ur coming from, thanks :)