10/21/2019 CSCI 561 (205 unread)
question
148 views
Input6.txt
For input6.txt aren’t there are no valid moves according to the rules? The piece at (3,2) has to be moved since it is in the camp. However, in @365, no moves are valid including (3,2) to (4,1) or (3,2) to (2,3). How are we supposed to handle this case?
https://piazza.com/class/jzob0qt1owq15p?cid=719
1/3
10/21/2019 CSCI 561 (205 unread)
the students’ answer, where students collectively construct a single answer
Updated 20 hours ago by Anonymous
I think I found the answer to my question.
“Only if the player does not have any pieces left in their camp or none of the two alternatives above are possible are they free to move pieces outside of their camp”
https://piazza.com/class/jzob0qt1owq15p?cid=719
2/3
2wh
10/21/2019 CSCI 561 (205 unread)
the instructors’ answer, where instructors collectively construct a single answer
Yes, what you found (in students’ answer) is right.
Updated 20 hours ago by Bo Wang
followup discussions for lingering questions and comments
Resolved
Unresolved
Anonymous 20 hours ago
What do you mean by “free”?
Since in this test case, no moves are valid including (3,2) to (4,1) or (3,2) to (2,3) (4, 1) and (2, 3) are still inside the camp
Bo Wang 6 hours ago free to move pieces which are outside their camp.
Anonymous 20 hours ago
Does free means we can put this piece to wherever on the board?
Bo Wang 4 hours ago See above
Resolved
Unresolved
Updated 20 hours ago by Anonymous
https://piazza.com/class/jzob0qt1owq15p?cid=719
3/3