aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/pile.h
AgeCommit message (Collapse)AuthorLines
2019-01-27Reorganise repoTom Harley-53/+0
All solvitaire content has been shoved into a subdirectory to tidy up the root of the project. This also means solvitaire is treated similarly to other dependencies of the project, and allows other dependencies to be added easily. There's also a lot of other work done here, such as usign a thread pool library to manage the running of the voters.
2018-06-08Refactor legal moves gen and moves logicCharlie Blake-0/+1
2018-04-04Add pile teststhecharlesblake-1/+3
2018-02-14Update game rep to deal with foundation dominancethecharlesblake-0/+1
2018-02-01Change pile comp ops to assess size firstthecharlesblake-0/+1
2018-01-30Update card & pile with comp operators for sortingthecharlesblake-4/+9
2018-01-25Refactor game_state & cache to remove static hackthecharlesblake-1/+1
2018-01-18Add vector and initializer lst constructor to pilethecharlesblake-1/+4
2018-01-12Implement symmetrical hash for pile vectorthecharlesblake-2/+0
2018-01-12Implement hash for pilesthecharlesblake-0/+2
2018-01-12Add unit tests for global cachethecharlesblake-0/+1
2018-01-08Add game logic for built pile (AA) and refactorthecharlesblake-5/+7
2018-01-03Major refactor, putting pile logic into game_statethecharlesblake-33/+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-1/+4
2017-12-31Pile efficient implementation fixthecharlesblake-1/+1
2017-12-29Make pile representation efficientthecharlesblake-9/+19
2017-11-15Change history to boost multi-index mapthecharlesblake-0/+1
2017-11-12Refactor game statethecharlesblake-2/+1
2017-11-12Refactor and improve state printingthecharlesblake-1/+1
2017-11-12Add factory to pile class to create std pile typesthecharlesblake-1/+10
2017-11-12Tidy up headers for consistencythecharlesblake-4/+5
2017-11-12Simplify pile class & make const where possiblethecharlesblake-16/+13
2017-11-11Add src file directory structurethecharlesblake-0/+49