1 implementation module Team_Student_Slalom_Assignment
3 /** Implement a solution to the slalom assignment.
5 Your team consists of one field player, with player's number 2.
6 Below you should only change the definition of footballer to your solution.
7 Do not change the position and player identification.
8 Do not change the implementation of base_TeamName_Student_Slalom.
12 import FootballerFunctions
14 Team_Student_Slalom :: !Home FootballField -> Team
15 Team_Student_Slalom home field = team
17 team = [{footballer {clubName=club,playerNr=2} & pos = if (home == West) position (mirror field position)}]
18 club = base_TeamName_Student_Slalom +++ if (home == West) "_W" "_E"
19 position = {zero & px = scale -0.5 field.flength + penalty_area_depth}
20 footballer player_id = defaultFootballer player_id // implement your footballer here
22 base_TeamName_Student_Slalom :: String
23 base_TeamName_Student_Slalom = "Student Slalom"