1 implementation module Team_Student_DeepPass_Assignment
3 /** Implement a solution to the deep passing assignment.
5 Your team consists of two players, with player's numbers 2 and 3 respectively.
6 Below you should only change the definition of footballer to your solution.
7 Do not change the positions and player identifications.
8 Do not change the implementation of base_TeamName_Student_DeepPass.
13 Team_Student_DeepPass :: !Home FootballField -> Team
14 Team_Student_DeepPass home field = if (home == West) team (mirror field team)
16 team = [ {footballer {clubName=club,playerNr=nr} & pos = toPosition (scale (0.5*x) field.flength,scale (0.5*y) field.fwidth)}
20 club = base_TeamName_Student_DeepPass +++ if (home==West) "_W" "_E"
21 positions = [(0.05,-0.05),(0.35,0.05)]
22 footballer playerID = defaultFootballer playerID // implement your footballer here
24 base_TeamName_Student_DeepPass :: String
25 base_TeamName_Student_DeepPass = "Student Deep Pass"