I am stuck with this scenario My Clara is the actor which is a lady bug it can remove leaves put leaves the list below are the actions and sensors i can use .
i can't use a image to show scenario , but i can explain.
it's a 9 x 9 box with trees all inside the box the tress cover the first row of the box all the way around . there is 7 rows down and i have to move down all those rows . the 1st row has to have leaves on all of it ,the 2nd row has to have one leaf at the start and one leaf in the middle and one lead in the end of row , the 3rd row same as the 2nd row, the 4th row same as the first one , the 5th row has no leaves at the 1st and last box of the row the row has 5 leaves , the 6th row has one leaf at the start and end of row and one leaf in the middle and 1 leaf on either side of the middle leaf so the 6th row has 5 leaves , the 7th row has 4 leaves , 2 leaves at the start of row and the 2 leaves at the end of row . Please i need help :L i wish i can screenshot the images of the scenario
MyClara is a subclass of Clara. Therefore, it inherits all methods of Clara: <p>
*
*
* PERMITTED COMMANDS
* Actions: move(), turnLeft(), turnRight(), putLeaf(), removeLeaf()
* Sensors: onLeaf(), treeFront()
* JAVA: if, else, while, for, !, &&, ||, break, variables
*/
