Trouble with generating a complete 2D Array based on game criteria

前端 未结 0 1130
轮回少年
轮回少年 2021-01-06 01:48

I need to generate a 2D array grid (4 rows, 5 columns) based on the following criteria

  • 6 squares on random on the grid be set to "white"
  • the
相关标签:
回答
  • 消灭零回复
提交回复
热议问题