Improving soccer simulation algorithm

后端 未结 4 608
伪装坚强ぢ
伪装坚强ぢ 2021-01-31 07:00

In another question, you helped me to build a simulation algorithm for soccer. I got some very good answers there. Thanks again!

Now I\'ve coded this algorithm. I would

4条回答
  •  眼角桃花
    2021-01-31 07:18

    Yous seem to be missing:-

    #include oscar.h;
    void function dive (int ball_location, int[] opposition, int[] opposition_loc) {
        if (this.location != PenaltyBox || ball_location != PenatlyBox)
           return;
        } else {
           for (x = 0; x < 11; x++) {
               if ( opposition_loc[x] = PenaltyBox ) {
                   scream(loudly);
                   falldown();
                   roll_around();
                   cry();
                   roll_around();
                   scream(patheticaly);
                   plead_with_ref();
                   return;
                }
         }
         return;
    }
    

提交回复
热议问题