10x10 button array with a Boolean of 10% true values

前端 未结 0 1567
眼角桃花
眼角桃花 2021-02-15 18:08

I\'m making minesweeper for a school project and need a way to randomly set mines for a 10x10 grid with a maximum of 10 mines. I\'d also like this value to be readable as I need

相关标签:
回答
  • 消灭零回复
提交回复
热议问题