I am having a bit of a problem where the index is larger than the index #455
Unanswered
TheGloriousMoron
asked this question in
Q&A
Replies: 1 comment 1 reply
-
There may not be a future move, you should check the length of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
public List MoveSequence(Board futureBoard)
{
for (int i = 0; i < random.Next(1, 5);)
{
Move[] futureMoves = futureBoard.GetLegalMoves();
Beta Was this translation helpful? Give feedback.
All reactions