aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/card.cpp
AgeCommit message (Collapse)AuthorLines
2019-01-27Reorganise repoTom Harley-152/+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-26Finished klondike correct implCharlie Blake-3/+18
2018-06-25Add state printing for face down cardsCharlie Blake-0/+2
2018-06-25Add face down deal parsingCharlie Blake-4/+5
2018-06-25Add card face down unit testsCharlie Blake-0/+10
2018-06-07Tidy up mainCharlie Blake-2/+2
2018-02-14Resolve name ambiguity in card classthecharlesblake-8/+16
2018-02-01Add default constructor for card & 'divider' cardthecharlesblake-0/+4
2018-01-30Update card & pile with comp operators for sortingthecharlesblake-0/+28
2018-01-18Chance suit from enum to uint8_t for bit packingthecharlesblake-15/+23
2018-01-12Implement symmetrical hash for cardsthecharlesblake-9/+0
2018-01-12Add unit tests for global cachethecharlesblake-3/+3
2018-01-10Add asserts to program and fix bugs they raisethecharlesblake-1/+3
2018-01-08Add game logic for built pile (AA) and refactorthecharlesblake-0/+4
2018-01-03Move card printing into dedicated classthecharlesblake-17/+0
2018-01-03Major refactor, putting pile logic into game_statethecharlesblake-0/+10
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.
2017-12-31Card efficient implementation fixthecharlesblake-18/+26
2017-12-28Make card representation efficientthecharlesblake-64/+39
2017-11-15Change history to boost multi-index mapthecharlesblake-0/+11
2017-11-12Remove old style cast from card classthecharlesblake-1/+1
2017-11-11refcator card classthecharlesblake-3/+5
2017-11-11Add src file directory structurethecharlesblake-0/+90