if I have something like this ``` fun getShapeG...
# getting-started
o
if I have something like this
Copy code
fun getShapeGrid() =
      when (Random().nextInt(5) + 1) {
      //Box
        1 -> arrayOf(
            intArrayOf(1, 1),
            intArrayOf(1, 1)
        )
      //Z Shape
        2 -> arrayOf(
            intArrayOf(0, 1, 1),
            intArrayOf(1, 1, 0)
        )
      //Stick
        3 -> arrayOf(
            intArrayOf(1),
            intArrayOf(1),
            intArrayOf(1),
            intArrayOf(1)
        )
        else -> TODO()
      }