aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/card.cpp
AgeCommit message (Collapse)AuthorLines
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