aboutsummaryrefslogtreecommitdiff
path: root/src/main/game
AgeCommit message (Collapse)AuthorLines
2019-01-27Reorganise repoTom Harley-2764/+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.
2019-01-24It works with fortune's favorTom Harley-0/+34
It seems to be consistently running to completion successfully! It's been renamed to `metasol` for now, since that's a better name than `test`. Next step will probably be eliminating the namespace pollution in `metasol.cpp`.
2018-11-16wow a thing that worksTom Harley-0/+24
2018-10-21Add k+ symmetry when waste size multiple of dealthecharlesblake-3/+20
2018-10-14Add maximal built group optionthecharlesblake-18/+25
2018-10-14Add pre-filled cellsthecharlesblake-0/+11
2018-10-13Add json printing of initial dealthecharlesblake-0/+1
2018-09-29Fix reserve-foundation bugthecharlesblake-1/+1
2018-09-29Correct legal moves for found base & remove wrapsthecharlesblake-14/+12
2018-09-29Fix wrapping logicthecharlesblake-2/+6
2018-09-16Add logic for auto-waste-then-stockthecharlesblake-0/+21
2018-09-16Add parsing logic for auto-waste-then-stock spacesthecharlesblake-1/+2
2018-09-16Add legal moves logic for fixed suit sequencesthecharlesblake-1/+13
2018-09-16Add parsing logic for sequence fixed suit rulethecharlesblake-1/+3
2018-08-08Only log cache full error when in debug modeCharlie Blake-0/+2
2018-08-04Add two-deck presets & edit mv order to make workCharlie Blake-14/+35
2018-07-24Fix canfield to pass all unit testsCharlie Blake-25/+67
2018-07-23Small bug fixes inc found. base card & whole pilesCharlie Blake-13/+15
2018-07-23Add foundation wrap logic and fix top-of-waste bugCharlie Blake-18/+31
2018-07-19Add tableau wraps logicCharlie Blake-9/+13
2018-07-19Add whole pile legal moves genCharlie Blake-2/+42
2018-07-19Add random gen for CanfieldCharlie Blake-13/+29
2018-07-19Add parsing of new rulesCharlie Blake-1/+9
2018-07-19Update rules so new schema works w/ existing gamesCharlie Blake-6/+20
2018-07-18Add accordion move makingCharlie Blake-11/+73
2018-07-14Add accordion top pile state cachingCharlie Blake-0/+4
2018-07-14Add random gen and state print for accordionCharlie Blake-0/+18
2018-07-14Add rules fields for accordionCharlie Blake-1/+12
2018-07-12Gaps / sequence implementationCharlie Blake-55/+135
2018-07-11Add sequence state printing and fix small bugsCharlie Blake-15/+16
2018-07-11Add random deal for sequencesCharlie Blake-0/+15
2018-07-11Parse sequence from dealCharlie Blake-0/+7
2018-07-10Add logic to take cards from within pilesCharlie Blake-0/+15
2018-07-10Add deal parser json and fix bugsCharlie Blake-2/+15
2018-07-06Refactor k-plus impl to simplify and fix deal1 bugCharlie Blake-103/+82
2018-07-06Refactored game rules JSONCharlie Blake-18/+27
2018-07-04Add variants for streamliner cmd line optionsCharlie Blake-14/+27
2018-07-03Fix legal move bugsCharlie Blake-10/+15
2018-07-03Tidy up stock rep and amend broken unit testsCharlie Blake-42/+0
2018-07-03Fix klondike bugsCharlie Blake-35/+102
2018-07-02Fix small impl bugsCharlie Blake-3/+3
2018-06-29Fix built group reveal bugCharlie Blake-8/+10
2018-06-29Fix bugs + correct built pile kings. Cell + foundsCharlie Blake-189/+148
2018-06-28Implement to pass unit testsCharlie Blake-8/+81
2018-06-26Finished klondike correct implCharlie Blake-18/+128
2018-06-25Add state printing for face down cardsCharlie Blake-0/+2
2018-06-25Add game state face down random genCharlie Blake-1/+12
2018-06-25Add face down deal parsingCharlie Blake-7/+9
2018-06-25Add card face down unit testsCharlie Blake-0/+20
2018-06-22Add simple simonCharlie Blake-2/+4
2018-06-22Change move order generationCharlie Blake-3/+123
2018-06-21Fixup randomnessCharlie Blake-1/+18
2018-06-21Make randomness consistentCharlie Blake-19/+11
2018-06-21Add streamliner command line option (inc for spgs)Charlie Blake-29/+18
2018-06-19Reduce memory taken up by dfs datastructuresCharlie Blake-2/+1
2018-06-13Add cache capacity command line optionCharlie Blake-8/+23
2018-06-12Add lru cache with elems limitCharlie Blake-32/+37
2018-06-11Speedup build and add lru cacheCharlie Blake-15/+116
2018-06-10Finish refactoring game state classCharlie Blake-296/+260
2018-06-08Refactor moves logicCharlie Blake-120/+176
2018-06-08Fix built move bug and add unit testsCharlie Blake-25/+6
2018-06-08Move auto found. logic into sep. fileCharlie Blake-63/+74
2018-06-08Move pile order logic into sep. fileCharlie Blake-73/+84
2018-06-08Refactor legal moves gen and moves logicCharlie Blake-226/+273
2018-06-07Remove reduced state build and logicCharlie Blake-46/+1
2018-06-07Tidy up mainCharlie Blake-3/+3
2018-04-09finthecharlesblake-10/+12
2018-04-08Cells-reserve bugfixthecharlesblake-3/+3
2018-04-07Add tuned optimisation eval gamesthecharlesblake-9/+18
2018-04-06Add streamliner & both, fix auto-founds bugthecharlesblake-37/+42
2018-04-06Fix build to work on lab clientsthecharlesblake-3/+3
2018-04-05Added many new gamesthecharlesblake-11/+2
2018-04-04Add versions of klondikethecharlesblake-24/+88
2018-04-04Add legal move gen tests and refactorthecharlesblake-3/+12
2018-04-04Add pile teststhecharlesblake-1/+7
2018-04-04Re-add schemas for rule and deal parsingthecharlesblake-0/+2
2018-04-03Zero seed bugfixthecharlesblake-1/+1
2018-03-21Update game logic for correct spider implthecharlesblake-29/+45
2018-03-21Update sol rules with built group polthecharlesblake-2/+4
2018-03-09Add new solution type logicthecharlesblake-1/+20
2018-03-08Add solve by ordered tableau json parsingthecharlesblake-0/+2
2018-03-08Add stock deal when no empty tableau piles logicthecharlesblake-2/+12
2018-02-24Add card just moved optimisation to game logicthecharlesblake-8/+30
2018-02-23Enable suit reduction for non-foundation gamesthecharlesblake-28/+38
2018-02-22Add reduce suit streamliner: replace card symmetrythecharlesblake-9/+9
2018-02-15Add simple auto-found + works w/ removable foundsthecharlesblake-92/+71
2018-02-14Update game rep to deal with foundation dominancethecharlesblake-4/+177
2018-02-14Resolve name ambiguity in card classthecharlesblake-17/+25
2018-02-14Add removable foundations logic to legal moves genthecharlesblake-0/+8
2018-02-14Add foundations removable rule parsingthecharlesblake-0/+1
2018-02-02Add flag for toggling pile order symmetry & boththecharlesblake-0/+4
2018-02-02Rename SIMPLE_HASH flag to NO_CARD_SYMMETRYthecharlesblake-2/+2
2018-02-02Simplify flagged versions of cached statethecharlesblake-150/+115
2018-02-02Remove unnecessary get_data() from game_statethecharlesblake-5/+0
2018-02-01Add game state reduction to cachethecharlesblake-128/+146
2018-02-01Remove order on cache flag from game statethecharlesblake-8/+1
2018-02-01Change pile comp ops to assess size firstthecharlesblake-4/+21
2018-02-01Add default constructor for card & 'divider' cardthecharlesblake-0/+7
2018-01-30Add logic for ORDER_ON_CACHE to global_cachethecharlesblake-2/+19
2018-01-30Add logic for ORDER_ON_CACHE to game_statethecharlesblake-0/+8