Commit Graph

43 Commits

Author SHA1 Message Date
Jonathan Lamothe 9e855d9672 implemented gmsPoints 2019-08-30 18:57:56 -04:00
Jonathan Lamothe 4c13cc9103 implemented updateGameStats 2019-08-30 01:21:17 -04:00
Jonathan Lamothe a9d952b97b implemented gameLost 2019-08-30 00:44:40 -04:00
Jonathan Lamothe 3fe2ff10f6 make gameWon and gameTied return Maybe Bool instead of Bool 2019-08-30 00:43:09 -04:00
Jonathan Lamothe 3c8302174b implemented overtimeCheck 2019-08-29 00:12:30 -04:00
Jonathan Lamothe 7ee53ee8c1 implemented gameWon 2019-08-28 23:31:33 -04:00
Jonathan Lamothe c15ad6a477 implemented gameTied helper function 2019-08-28 01:47:30 -04:00
Jonathan Lamothe e834019fc9 moved pPoints function 2019-08-28 01:46:09 -04:00
Jonathan Lamothe 2854c54474 removed unnecessary lenses 2019-08-28 01:23:47 -04:00
Jonathan Lamothe d7dd682532 implemented gameStateL 2019-08-28 01:23:47 -04:00
Jonathan Lamothe e36df4348a created generic lens spec 2019-08-28 01:23:47 -04:00
Jonathan Lamothe 97a42fd1de implemented otherScore 2019-08-27 12:50:40 -04:00
Jonathan Lamothe 29459063c8 changed teamScore to check GameState 2019-08-27 12:50:40 -04:00
Jonathan Lamothe 13d422100b added _dbHomeGameStats and _dbAwayGameStats with associated lenses 2019-08-27 11:14:15 -04:00
Jonathan Lamothe 3e4a9dd525 implemented GameStats and newGameStats 2019-08-27 11:13:40 -04:00
Jonathan Lamothe 954490fc6d better JSON testing 2019-08-27 00:00:55 -04:00
Jonathan Lamothe 0f9f76ce4e added _otherTeam with its associated lenses 2019-08-25 09:46:53 -04:00
Jonathan Lamothe f2cfe3b37b missing type signature 2019-08-25 09:43:10 -04:00
Jonathan Lamothe 054289e3d6 implemented addChar and removeChar 2019-08-24 19:24:06 -04:00
Jonathan Lamothe 16c9ebe124 accidentally a word 2019-08-23 10:20:06 -04:00
Jonathan Lamothe 923c143826 removed setHomeGame and setAwayGame
made redundant by gameTypeL
2019-08-23 09:47:11 -04:00
Jonathan Lamothe 02f04a3d6c bugfix: increment game number in startNewGame 2019-08-23 09:32:21 -04:00
Jonathan Lamothe 4d158a28db renamed/refactored teamPoints
- renamed to teamScore
2019-08-22 14:59:19 -04:00
Jonathan Lamothe ef7d34110a implemented awayScoreL 2019-08-22 14:33:39 -04:00
Jonathan Lamothe 2c2f9f5fc7 implemented homeScoreL 2019-08-22 14:19:43 -04:00
Jonathan Lamothe 7b7529339a implemented gameTypeL 2019-08-22 13:05:25 -04:00
Jonathan Lamothe 4f2dd119d2 use ?~ operator (where applicable) 2019-08-22 10:25:23 -04:00
Jonathan Lamothe 2e6a0f5ba4 renamed visitorScore to awayScore 2019-08-22 03:10:22 -04:00
Jonathan Lamothe ff19cd9fb5 implemented teamPoints 2019-08-22 03:06:36 -04:00
Jonathan Lamothe 87eb2b9f16 implemented setHomeGame and setAwayGame 2019-08-22 02:37:47 -04:00
Jonathan Lamothe c300542635 implemented startNewGame 2019-08-22 01:18:44 -04:00
Jonathan Lamothe 51e591861d implemented resetYtd 2019-08-21 15:57:52 -04:00
Jonathan Lamothe 8f0bd22f90 added haddock comments and default menu return value 2019-08-21 00:50:22 -04:00
Jonathan Lamothe 314b41b90b define menu types 2019-08-21 00:21:22 -04:00
Jonathan Lamothe 76b4b85a0f implemented startNewSeason 2019-08-20 12:26:24 -04:00
Jonathan Lamothe c76c763a5d added ActionsSpec 2019-08-20 11:31:03 -04:00
Jonathan Lamothe baadb5ae54 store number of games in database 2019-08-19 09:31:24 -04:00
Jonathan Lamothe 0be1a64119 built database 2019-08-16 11:49:04 -04:00
Jonathan Lamothe 33f87bcfe6 implemented Goalie (and GoalieStats) 2019-08-11 10:24:39 -04:00
Jonathan Lamothe 59eb7491f6 JSON encoding/decoding of players 2019-08-10 10:01:36 -04:00
Jonathan Lamothe 57b0b74cd1 implemented Player and PlayerStats 2019-08-09 11:43:20 -04:00
Jonathan Lamothe 37b3046c31 hspec framework 2019-08-08 16:42:58 -04:00
Jonathan Lamothe 98274615cc initial commit 2019-08-08 16:34:03 -04:00