next_square(square)
Instance Public methods
Select the next square to move to. Returns -1 if there are no available squares remaining that we can move to.
Select the next square to move to. Returns -1 if there are no available squares remaining that we can move to.
Designed by : w10schools
service@w10schools.com
Please login to continue.