In the previous chapter, we worked on a program that built patterns of black and white tiles that corresponded to the elements of a square array. In this chapter, we will introduce a powerful syntax that allows us to build larger patterns from shorter programs.
3. Arrays and Loops
Get Learn to Program with Kotlin: From the Basics to Projects with Text and Image Processing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.