From f59af998128321e7ce8d739e8a7e95b697301efd Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 29 Oct 2014 16:31:46 +1100 Subject: [PATCH] Add floorball preset --- presets/floorball.json | 57 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 presets/floorball.json diff --git a/presets/floorball.json b/presets/floorball.json new file mode 100644 index 00000000..99c55591 --- /dev/null +++ b/presets/floorball.json @@ -0,0 +1,57 @@ +{ + "name": "Floorball", + "positions": [ + "Forward", + "Defenseman", + "Goalkeeper" + ], + "outcomes": [ + "Win", + "Loss", + "Tie" + ], + "results": [ + { "name" : "1st", "description" : "1st period goals" }, + { "name" : "2nd", "description" : "2nd period goals" }, + { "name" : "3rd", "description" : "3rd period goals" }, + { "name" : "OT", "description" : "Overtime goals" }, + { "name" : "PPG", "description" : "Power play goals" }, + { "name" : "PPO", "description" : "Power play opportunities" }, + { "name" : "T", "id" : "goals", "description" : "Total goals", "primary" : 1 } + ], + "performance": [ + { "name" : "G", "description" : "Goals" }, + { "name" : "A", "description" : "Assists" }, + { "name" : "SOG", "id" : "s", "description" : "Shots on goal" }, + { "name" : "PIM", "description" : "Penalty in minutes" }, + { "name" : "SA", "description" : "Shots against" }, + { "name" : "GA", "description" : "Goals against" }, + { "name" : "SV", "description" : "Saves" } + ], + "columns": [ + { "name" : "GP", "equation" : "$eventsplayed", "description" : "Games played" }, + { "name" : "W", "equation" : "$win", "description" : "Wins" }, + { "name" : "L", "equation" : "$loss", "description" : "Losses" }, + { "name" : "PTS", "equation" : "$win * 2 + $tie", "priority" : 1, "description" : "Points" }, + { "name" : "GF", "equation" : "$goalsfor", "priority" : 3, "description" : "Goals for" }, + { "name" : "GA", "equation" : "$goalsagainst", "description" : "Goals against" }, + { "name" : "Diff", "equation" : "$goalsfor - $goalsagainst", "priority" : 2, "description" : "Goal differential" }, + { "name" : "PPG", "equation" : "$ppgfor", "description" : "Power play goals" }, + { "name" : "PPO", "equation" : "$ppofor", "description" : "Power play opportunities" }, + { "name" : "PP%", "equation" : "$ppgfor / $ppofor * 100", "precision" : 1, "description" : "Power play percentage" }, + { "name" : "PPGA", "equation" : "$ppgagainst", "description" : "Power play goals against" }, + { "name" : "PPOA", "equation" : "$ppoagainst", "description" : "Power play opportunities against" }, + { "name" : "PK%", "equation" : "( $ppoagainst - $ppgagainst ) / $ppoagainst * 100", "precision" : 1, "description" : "Penalty kill percentage" } + ], + "metrics": [ + "Height", + "Weight" + ], + "statistics": [ + { "name" : "GP", "equation" : "$eventsplayed", "description" : "Games played" }, + { "name" : "P", "equation" : "$g + $assists", "description" : "Points" }, + { "name" : "GAA", "equation" : "$ga / $eventsplayed", "precision" : 2, "description" : "Goals against average" }, + { "name" : "S%", "equation" : "$g / $s * 100", "precision" : 2, "description" : "Shot percentage" }, + { "name" : "SV%", "equation" : "$sv / $sa * 100", "precision" : 2, "description" : "Save percentage" } + ] +} \ No newline at end of file