Commit Graph

514 Commits

Author SHA1 Message Date
Jonathan Lamothe edf52ca3ff
Merge pull request #12 from mtlstats/fit
fit report to screen
2019-09-05 12:59:52 -04:00
Jonathan Lamothe f8519c31ce fit report to screen 2019-09-05 12:22:25 -04:00
Jonathan Lamothe 9b5bbb8524
Merge pull request #11 from mtlstats/refactor
Refactor
2019-09-04 23:56:05 -04:00
Jonathan Lamothe cc377492bb removed unused modules 2019-09-04 23:16:54 -04:00
Jonathan Lamothe 07f335fd73 switch over to Mtlstats.Control module 2019-09-04 23:16:05 -04:00
Jonathan Lamothe 3a44bdca94 reset YTD stats before starting new game 2019-09-04 23:15:32 -04:00
Jonathan Lamothe 38fae17d44 implemented Mtlstats.Control module 2019-09-04 23:14:41 -04:00
Jonathan Lamothe ba7d694b14 defined Controller 2019-09-04 22:56:53 -04:00
Jonathan Lamothe 1e2f65234b
Merge pull request #10 from mtlstats/game-stats
Generate game stats report
2019-09-04 01:08:22 -04:00
Jonathan Lamothe 5b6ecc8c40 refactored updateGameStats and validageGameDate 2019-09-04 00:58:44 -04:00
Jonathan Lamothe 24f02b427e bugfix: ensure game wins are recorded 2019-09-04 00:49:05 -04:00
Jonathan Lamothe acb3be8427 wait for keypress to clear report 2019-09-03 17:54:20 -04:00
Jonathan Lamothe 6c17d88353 generate report 2019-09-03 15:50:34 -04:00
Jonathan Lamothe 258cf59417 implemented gmsGames 2019-09-03 14:15:29 -04:00
Jonathan Lamothe 84cb2c8c19 implemented overlay 2019-09-02 22:56:29 -04:00
Jonathan Lamothe 8dd4896f07 place game number header above relevant prompts 2019-09-02 22:39:03 -04:00
Jonathan Lamothe 6136151614 implemented homeTeam and awayTeam 2019-09-02 18:50:21 -04:00
Jonathan Lamothe f0e0d644d2 implemented month 2019-09-02 10:29:32 -04:00
Jonathan Lamothe 8b88cbff75 implemented centre 2019-09-02 09:54:04 -04:00
Jonathan Lamothe 6145dd5c0c implemented right 2019-09-02 09:41:47 -04:00
Jonathan Lamothe 60c662396f implemented left 2019-09-02 09:41:47 -04:00
Jonathan Lamothe d71d3c86e9 implemented padNum 2019-09-01 22:50:56 -04:00
Jonathan Lamothe c7c76b60f1 validate game date 2019-09-01 22:29:04 -04:00
Jonathan Lamothe eef773b7fa prompt for day of month game took place 2019-08-31 12:42:11 -04:00
Jonathan Lamothe bd0cffc56c prompt for game month 2019-08-31 12:29:37 -04:00
Jonathan Lamothe 79f8df50a0 make menu input case insensitive 2019-08-31 12:29:37 -04:00
Jonathan Lamothe 0798786d36 prompt for game year 2019-08-31 12:29:37 -04:00
Jonathan Lamothe f718757bea whitespace fix 2019-08-31 12:29:37 -04:00
Jonathan Lamothe 9f076db27b missing haddock comments 2019-08-31 11:24:55 -04:00
Jonathan Lamothe ab5408f464 added date fields to GameState 2019-08-31 10:32:03 -04:00
Jonathan Lamothe f9e7710122 implemented addGameStats 2019-08-31 09:33:26 -04:00
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 45427a050e prompt user if game went into overtime when necessary 2019-08-29 00:29:30 -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 6088974aea reordered functions 2019-08-27 13:07:43 -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 c72ccf80bf
Merge pull request #9 from mtlstats/other-team
Other team prompt
2019-08-25 10:12:01 -04:00