Maze algorithm: which line of code specifies that when a ball hits a dead end, it will backtrack?

后端 未结 0 1718
执念已碎
执念已碎 2020-12-06 11:29

I am learning how to create a maze using Javascript. I went through the following code. Basically the logic is to randomly pick a square (I hard coded the value so I can bet

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