Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public bool IsGoal(byte[,] s)
- {
- for (int i = 0; i < s.GetLength(0); i++)
- for (int j = 0; j < s.GetLength(1); j++)
- if (s[i,j] != goal[i,j])
- return false;
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement