Soccer Simulation
Материал из Поле цифровой дидактики
ODD protocol
DREAM О чём эта модель? Как устроена модель (правила внутри) Как пользоваться моделью На что следует обратить внимание Что стоит попробовать Расширение возможностей модели Функции среды программирования, которые использованы в этой модели Похожие модели
globals [
width ;; width of the patch height ;; height of the patch red-goal ;; patches that belongs to the red goal blue-goal ;; patches that belong to the blue goal the-ball ;; the ball score-red ;; amount of goals that the red team has scored since the setup score-blue ;; amount of goals that the blue team has scored since the setup red-team ;; players of the red team blue-team ;; players of the blue team seed ;; current seed number previous-seed ;; previous seed number
pass-distance ;; the maximum distance a player can pass move-ball-distance ;; the distance the ball is moved forward when the player is moving trick-ball-distance ;; the distance the ball is moved forward when the player is doing a trick shoot-distance-selfish ;; the maximum distance a selfish player will shoot shoot-distance-teamplayer ;; the maximum distance a teamplayer will shoot speed ;; the speed of a player without the ball speed-receiver ;; the speed of the player receiving a pass speed-with-ball ;; the speed of the player with the ball speed-ball-pass ;; the speed of the ball when it is passed speed-ball-shot ;; the speed of the ball when it is shot speed-keeper ;; the movement speed of the keeper in vertical direction distance-ballpossession ;; the distance of the player to the ball for a player to recognize he is in ball possession locate-ball-distance ;; the distance from which a player locates the ball and recognize he is close to the ball locate-player-distance ;; the distance from which a player locates another player and recognize he is close to that player defender-distance ;; the maximum distance the defender wants to stand from the goal keeper-reach ;; the reach of the keeper
]