implemented assist prompt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user