Karel the Robot


If anyone has done this Karel lab before I would greatly appreciate some
help on it.



Karel will continue performing this operation until all of the lines of beepers have been picked up. You MAY assume that each line has exactly 5 beepers. You SHOULD NOT assume that there are only 4 lines per situation file. You should also not assume that each line has a starting beeper on 8th ST; however, each line of beepers may be found by moving forward from the origin point. In addition, the spacing between lines may be different between different situation files. When Karel has picked up all of the beepers, he should return to the origin point, face east, and turn off. Examine the initial situation below:
This isn't a free homework site, where you can just copy/paste your assignment and expect a completed solution you can just copy/paste back to your tutor.

Karel lab is most definitely homework, so don't expect a complete answer. Instead clearly explain what your problem is with this assignment and expect useful hints.

Also, if I recall correctly Karel is a robot with only few capabilities. You did not mention what Karel can and can not do. This is not necessarily the same for every course, so nobody can really help you.

The assignment is to find the correct combinations of the few capabilities that the robot has to perform a more complex task. This expands the capabilities of Karel.

Which tasks can your robot already perform because you have defined how to combine its basic capabilities?

Finally: what should your robot do in order accomplish this task?
As an example, for a dancing robot this might be:
1
2
3
4
5
6
7
8
9
Recipe for a dance:
1. Find a dance partner
2. Assume starting position
3. Select foot to start with 
4. Take first step with selected foot
5. Take side step with other foot
6. Move selected foot next to other foot
7. Select other foot
8. Repeat from 4.


Kind regards, Nico
what's that.


___
hiim ducking from https://www.khosango.com/
Topic archived. No new replies allowed.