aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/pile.cpp
AgeCommit message (Collapse)AuthorLines
2018-02-01Change pile comp ops to assess size firstthecharlesblake-4/+20
2018-01-30Update card & pile with comp operators for sortingthecharlesblake-0/+16
2018-01-18Add vector and initializer lst constructor to pilethecharlesblake-1/+5
2018-01-12Implement hash for pilesthecharlesblake-7/+0
2018-01-12Add unit tests for global cachethecharlesblake-0/+2
2018-01-10Add asserts to program and fix bugs they raisethecharlesblake-0/+1
2018-01-08Add game logic for built pile (AA) and refactorthecharlesblake-9/+6
2018-01-03Major refactor, putting pile logic into game_statethecharlesblake-109/+1
Much of the logic that was in the pile class was beginning to seem out of place. A lot of the rules have fairly arbitrary interactons *between* piles, which weren't best represented in the pile classes themselves, which were getting unweildy and inefficient. Hence, much of this logic has been moved to the game state class.
2018-01-02Add empty pile logic for bakers dozenthecharlesblake-4/+9
2017-12-31Pile efficient implementation fixthecharlesblake-1/+6
2017-12-29Make pile representation efficientthecharlesblake-29/+30
2017-11-15Change history to boost multi-index mapthecharlesblake-0/+7
2017-11-12Refactor game statethecharlesblake-5/+4
2017-11-12Refactor and improve state printingthecharlesblake-17/+17
2017-11-12Add factory to pile class to create std pile typesthecharlesblake-4/+34
2017-11-12Simplify pile class & make const where possiblethecharlesblake-19/+7
2017-11-11Add src file directory structurethecharlesblake-0/+128