pseudo code |
while there is a flower nearby, pick a row and decide what way to turn |
Find the other Jeroo
as long as the jeroo has flowers give them away |
1st find the nets, then keep doing this:
disable a row
decide which way to turn or if you should hop ahead
|
Turn 4 times
|
code |
method pickAll(){
while(________________________) {
pickARow();
decide();}
} |
method giveAll(){
find();
while(________________)
} |
method netAll(){
findNets();
while(_________________________){
disableRow();
decide2(); }
} |
method spin(){ |