Commit Graph

373 Commits

Author SHA1 Message Date
Jonathan Lamothe 6cb348a4a8
Merge pull request #14 from mtlstats/verify-input
Verify input
2019-09-07 09:15:29 -04:00
Jonathan Lamothe 9c0ebb42d1 renamed date to gameDate 2019-09-07 09:06:16 -04:00
Jonathan Lamothe dc2f632563 prompt for confirmation of game input 2019-09-07 00:27:18 -04:00
Jonathan Lamothe 27867ba69d implemented Mtlstats.Report.date 2019-09-07 00:26:15 -04:00
Jonathan Lamothe e0dd80079d implemented ynHandler 2019-09-06 23:25:13 -04:00
Jonathan Lamothe 1e7c4d6c19 added dataVerified field to GameState 2019-09-06 11:21:46 -04:00
Jonathan Lamothe 00c96e763d
Merge pull request #13 from mtlstats/ot-fix
overtime losses don't count towards the loss column
2019-09-06 10:21:55 -04:00
Jonathan Lamothe a9ce9a54d7 overtime losses don't count towards the loss column 2019-09-06 10:13:48 -04:00
Jonathan Lamothe 771737ccbb version 0.1.0 2019-09-06 08:24:40 -04:00
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