10/21/2019 CSCI 561 (162 unread)
question
251 views
Output format
If I jump a piece from 5,5 to 7,7 and then again to 9,9 what should my output be ? Is it [J 5,5 7,7 and J 5,5 9,9] or [J 5,5 7,7 and J 7,7 9,9 ]? Also if I have more than one piece say 1,1 jumping to 3,3 can I also write it to Output.txt ?
Updated 8 days ago by Anonymous
the students answer, where students collectively construct a single answer
For the first question, it should be [J 5,5 7,7 and J 7,7 9,9].
For the second question, you should output only one pieces movement in you output.txt, which you refer best.
~ An instructor (Bo Wang) endorsed this answer ~
Updated 8 days ago by Longhui Wang and Anonymous
followup discussions for lingering questions and comments
Resolved
Unresolved
Anonymous 8 days ago so for both SINGLE and GAME , there should be only 1 piece s movement in output.txt ? Longhui Wang 8 days ago Yes. In a real game, you cannot move two pieces in one turn.
https://piazza.com/class/jzob0qt1owq15p?cid=384
1/1
2wh
Programming
[SOLVED] CS 10/21/2019 CSCI 561 (162 unread)
$25
File Name: CS_10/21/2019_CSCI_561_(162_unread).zip
File Size: 329.7 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.