Introduction - If you have any usage issues, please Google them yourself
The play area can be divided into 20 rows and 12 columns of 20* 12 small box area. You can use a two-dimensional array to represent. Such as int m_iMap [20] [12], a value of 1 box of 0 indicates no box.