hey guys i need help making a loop to create bricks in my breakout game.
here is the code to make one brick:
//creates a brick in breakoutWourld.
brick = new Brick(1,"red");
addToGame(brick, 20, 10);
any ideas on how i can loop it to make 2 rows that have 11 bricks.