![]() |
.. (לתיקייה המכילה) | |
When was the assignment last updated? | |
On 24/4/2016 at 22:00. Highlights: In the dry part, question 2: added a missing value for address 1400. Corrected the example for error 3 (the case of legal moves, no solution). Corrected the example in ex2_test.txt to match the example from the exercise. |
What should be the output in case the astronaut stops at the finish point in the middle of the moves series? | |
You can assume that if the astronaut stops at the finish point, it will be only after the last move is executed. |
What should happen in case the astronaut starts at the finish point and the moves series is empty? | |
You can assume the astronaut will not start at the finish point. |
Suppose that two robots are located in adjacent squares, and one is chosen to move toward the other. Is this kind of move considered valid? | |
Yes. The robot will move until it reaches the other robot, which means in this case it will not move at all, and the board will not change. |