Commit Graph

615 Commits

Author SHA1 Message Date
Jonathan Lamothe c72ccf80bf
Merge pull request #9 from mtlstats/other-team
Other team prompt
2019-08-25 10:12:01 -04:00
Jonathan Lamothe 9ba91f1f01 prompt for other team 2019-08-25 10:04:37 -04:00
Jonathan Lamothe 0f9f76ce4e added _otherTeam with its associated lenses 2019-08-25 09:46:53 -04:00
Jonathan Lamothe 2a2189c7d1 implenented strPrompt 2019-08-25 09:43:16 -04:00
Jonathan Lamothe f2cfe3b37b missing type signature 2019-08-25 09:43:10 -04:00
Jonathan Lamothe bb44598b64
Merge pull request #8 from mtlstats/away-score
prompt for away team score
2019-08-24 20:21:15 -04:00
Jonathan Lamothe 74809ced2e prompt for away team score 2019-08-24 20:14:49 -04:00
Jonathan Lamothe 3626dde6fc
Merge pull request #7 from mtlstats/home-score
Home score prompt
2019-08-24 19:52:36 -04:00
Jonathan Lamothe 0eb56cda81 implemented homeScorePrompt 2019-08-24 19:35:37 -04:00
Jonathan Lamothe bd561bb7a8 implemented numPrompt 2019-08-24 19:24:06 -04:00
Jonathan Lamothe 054289e3d6 implemented addChar and removeChar 2019-08-24 19:24:06 -04:00
Jonathan Lamothe 3cc76d881c basic prompting framework 2019-08-24 19:24:06 -04:00
Jonathan Lamothe 7e93b329b2 allow drawing functions to set cursor visibility 2019-08-24 09:41:23 -04:00
Jonathan Lamothe def2af7e64
Merge pull request #6 from mtlstats/game-input
Game input
2019-08-23 10:40:55 -04:00
Jonathan Lamothe e6bc853b7f typo 2019-08-23 10:35:59 -04:00
Jonathan Lamothe 16c9ebe124 accidentally a word 2019-08-23 10:20:06 -04:00
Jonathan Lamothe 3df01be49a better drscription for _menuDefault 2019-08-23 10:16:26 -04:00
Jonathan Lamothe cff6c19ed8 added missing haddock comments 2019-08-23 10:10:49 -04:00
Jonathan Lamothe 2c77053bbe refactored handleEvent and draw 2019-08-23 10:04:33 -04:00
Jonathan Lamothe a3ccb47128 typo 2019-08-23 09:50:21 -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 c95520832d created Action type 2019-08-23 09:22:32 -04:00
Jonathan Lamothe fd9ffd5220 display game type menu 2019-08-22 16:48:30 -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 ca60d71006 missing haddock comments 2019-08-22 01:16:26 -04:00
Jonathan Lamothe 51e591861d implemented resetYtd 2019-08-21 15:57:52 -04:00
Jonathan Lamothe 943efe0599 refactored new season menu 2019-08-21 01:15:26 -04:00
Jonathan Lamothe 7cffac245c refactored main menu 2019-08-21 01:08:12 -04:00
Jonathan Lamothe d6c51e6854 menu functions 2019-08-21 00:51:08 -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 27761d2b87 implemented new season handler 2019-08-20 12:50:39 -04:00
Jonathan Lamothe 76b4b85a0f implemented startNewSeason 2019-08-20 12:26:24 -04:00
Jonathan Lamothe 25034f0c48 missing haddock comments 2019-08-20 12:25:40 -04:00
Jonathan Lamothe c76c763a5d added ActionsSpec 2019-08-20 11:31:03 -04:00
Jonathan Lamothe 43c2a4ff4e added new game menu 2019-08-20 11:17:24 -04:00
Jonathan Lamothe 113127d33d draw new season menu 2019-08-20 10:41:15 -04:00
Jonathan Lamothe 1662705e4d implemented main menu 2019-08-20 10:41:15 -04:00
Jonathan Lamothe 3fab328e17 split mainLoop up into eventHandler and draw functions 2019-08-20 00:23:18 -04:00
Jonathan Lamothe 72f9d51977 add Database to ProgState 2019-08-19 23:58:18 -04:00
Jonathan Lamothe 95d125973b relicensed under GPLv3 (because of ncurses) 2019-08-19 23:57:24 -04:00