aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/sol_rules.cpp
AgeCommit message (Collapse)AuthorLines
2019-01-27Reorganise repoTom Harley-43/+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-10-14Add pre-filled cellsthecharlesblake-0/+1
2018-09-29Correct legal moves for found base & remove wrapsthecharlesblake-1/+0
2018-07-23Add foundation wrap logic and fix top-of-waste bugCharlie Blake-0/+1
2018-07-19Add parsing of new rulesCharlie Blake-0/+1
2018-07-19Update rules so new schema works w/ existing gamesCharlie Blake-2/+4
2018-07-14Add rules fields for accordionCharlie Blake-1/+2
2018-07-10Add deal parser json and fix bugsCharlie Blake-1/+7
2018-07-06Refactored game rules JSONCharlie Blake-2/+2
2018-04-04Add versions of klondikethecharlesblake-0/+1
2018-03-21Update sol rules with built group polthecharlesblake-1/+2
2018-03-08Add solve by ordered tableau json parsingthecharlesblake-0/+1
2018-01-18Fix sol_rules setup issuesthecharlesblake-2/+2
2018-01-12Add unit tests for global cachethecharlesblake-0/+29
2018-01-03Refactor sol_rules into seperate parser classthecharlesblake-175/+0
2018-01-03Rename util to json_helperthecharlesblake-16/+16
2018-01-03Major refactor, putting pile logic into game_statethecharlesblake-29/+6
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 rules parsing for bakers dozenthecharlesblake-3/+20
2017-12-29Make rules representation efficientthecharlesblake-12/+18
2017-12-27First sp test workingthecharlesblake-3/+2
2017-12-26Add basic tableau deal parsingthecharlesblake-29/+14
2017-11-14Add logic for reading preset sols and file jsonthecharlesblake-85/+154
2017-11-12Refactor game statethecharlesblake-2/+2
2017-11-12Clean up deal from shuffled deckthecharlesblake-2/+2
2017-11-12Clean up sol_rules classthecharlesblake-2/+8
2017-11-11Add src file directory structurethecharlesblake-0/+116