implemented assist prompt

This commit is contained in:
Jonathan Lamothe
2019-09-26 01:23:34 -04:00
parent ffdb8e1e8c
commit 75803edfe7
3 changed files with 55 additions and 7 deletions

View File

@@ -32,6 +32,7 @@ module Mtlstats.Actions
, validateGameDate
, createPlayer
, addPlayer
, recordGoalAssists
, awardGoal
) where
@@ -149,6 +150,10 @@ addPlayer s = fromMaybe s $ do
Just $ s & database.dbPlayers
%~ (player:)
-- | Awards the goal and assists to the players
recordGoalAssists :: ProgState -> ProgState
recordGoalAssists = undefined
-- | Awards a goal to a player
awardGoal
:: Int