Is it possible to do math inside of a variable name? For example: S[BP1P - 8]O == false

前端 未结 0 1263
执念已碎
执念已碎 2020-12-09 11:20

I am trying to create a program that outputs all possible moves(chess). I started by creating variables to check if the spaces are occupied or not so S0O, S1O, etc. Now I wa

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