Commit Graph

39 Commits

Author SHA1 Message Date
Jesse D. McDonald 9fcbb1cf77 rework plot actions to avoid the buggy/racy "updating" combinator 2014-09-03 01:16:14 -05:00
Jesse D. McDonald e465141017 implement the remaining forms of plot quest action 2014-09-01 18:12:43 -05:00
Jesse D. McDonald 6b9df9680c reformat console output for a more compact layout 2014-09-01 18:09:20 -05:00
Jesse D. McDonald 748fe76f4a record resources provided by each action, and the action boundaries 2014-07-26 17:10:50 -05:00
Jesse D. McDonald 7bdd14fc83 add a WriterT for tracking the set of resources provided by an action 2014-07-26 17:08:39 -05:00
Jesse D. McDonald a8d2a603be simplify imports in Waterdeep.Types 2014-07-26 17:07:47 -05:00
Jesse D. McDonald 62260d2d28 move some utility functions from Waterdeep.Actions to Waterdeep.Utils. 2014-07-26 17:04:55 -05:00
Jesse D. McDonald 4331512a3e store all the messages from the game and print them at the end. 2014-07-26 17:01:03 -05:00
Jesse D. McDonald 7f7e39213e sync language extensions with the cabal file 2014-05-18 23:52:16 -05:00
Jesse D. McDonald 89f56b9f0d ignore the dist/ directory 2014-05-18 23:51:03 -05:00
Jesse D. McDonald 14e622a846 implement remaining actions; still missing conditional plot actions 2014-05-18 23:34:19 -05:00
Jesse D. McDonald 55a4b74cc5 add basic cabal integration 2014-05-18 15:46:13 -05:00
Jesse D. McDonald dce2ecbab8 represent the cost of a quest with a MultiSet rather than an action 2014-05-13 00:02:35 -05:00
Jesse D. McDonald 3256684266 enter details for the Intrigue cards 2014-05-11 20:55:22 -05:00
Jesse D. McDonald 2c390343cb enter details for the factions and Lord of Waterdeep cards 2014-05-11 19:11:00 -05:00
Jesse D. McDonald 97aa7a53e4 enter details for the Building tiles 2014-05-11 17:58:10 -05:00
Jesse D. McDonald c788c563fa enter details for the cards in the Quest deck 2014-05-11 17:56:41 -05:00
Jesse D. McDonald 349472da78 replace Control.Lens with the lighter-weight lens-family package 2014-05-11 02:19:38 -05:00
Jesse D. McDonald c582d83267 replace getNextPlayer with the pure function nextPlayerID 2014-05-10 18:49:41 -05:00
Jesse D. McDonald 0f035e74cc use Data.MultiSet to represent resources in place of Data.Map 2014-05-10 18:48:08 -05:00
Jesse D. McDonald e7802f17bd ignore ConsoleUI instead of Test after rename of top-level program 2014-05-05 02:40:35 -05:00
Jesse D. McDonald 01ab0b30db eliminate the explicit PlayerID parameter to the GameActions 2014-05-05 02:34:57 -05:00
Jesse D. McDonald e8b6f03be7 use monadic actions for GameAction in place of pattern matching 2014-05-05 02:34:49 -05:00
Jesse D. McDonald 17a40c68bf implement quest completion, Builder's Hall, and misc. specialized actions 2014-04-27 04:13:02 -05:00
Jesse D. McDonald 2a7fe3abea implement assigning agents & playing intrigue cards 2014-04-26 20:55:46 -05:00
Jesse D. McDonald 4a23b5f419 add a new prompt to send informational broadcasts to all players 2014-04-13 22:39:32 -05:00
Jesse D. McDonald 2810c0ea4b minor improvements to console output 2014-04-13 19:54:30 -05:00
Jesse D. McDonald fa8721ddd5 add operator precedence for `Then` and `OrElse` 2014-04-13 19:53:58 -05:00
Jesse D. McDonald 4898dea404 implement sequencing of GameActions with a Monoid interface 2014-04-13 01:54:20 -05:00
Jesse D. McDonald fe3c7e54e7 clean up excess whitespace 2014-04-08 21:43:02 -05:00
Jesse D. McDonald d2d00c135f clear the screen before printing game state 2014-04-08 21:42:54 -05:00
Jesse D. McDonald f7b7a6dc00 make newGame a pure function 2014-04-08 21:42:44 -05:00
Jesse D. McDonald 6acc6a150b remove automatic notices at every state change 2014-04-02 19:40:48 -05:00
Jesse D. McDonald d02c06addc add end-of-game scoring, including Lord of Waterdeep card bonuses 2014-04-02 19:40:07 -05:00
Jesse D. McDonald b0d20dff3d rename dummyPrompt to menuPrompt & print state when notified 2014-04-02 19:38:56 -05:00
Jesse D. McDonald 09a34c119b show card titles instead of number of cards 2014-04-02 19:37:26 -05:00
Jesse D. McDonald fdca9de867 create BuilderState for in-play buildings and Builder's Hall 2014-04-02 19:34:09 -05:00
Jesse D. McDonald a3b6810e0e change _playerTavern to a Map and implement additional actions 2014-03-31 22:42:24 -05:00
Jesse D. McDonald 8999128947 Lords of Waterdeep simulation -- initial commit. 2014-03-31 17:34:51 -05:00