aboutsummaryrefslogtreecommitdiff
path: root/src/main/game
AgeCommit message (Expand)AuthorLines
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
2018-01-30Update card & pile with comp operators for sortingthecharlesblake-4/+57
2018-01-30Update global cache to insert ordered vecthecharlesblake-42/+69
2018-01-30Update game_state so comm piles always orderedthecharlesblake-29/+128
2018-01-27Alter printing to work when pile refs are changedthecharlesblake-4/+13
2018-01-26Fix simple hash bugthecharlesblake-1/+1
2018-01-26Fix hash bugthecharlesblake-3/+3
2018-01-25Refactor game_state & cache to remove static hackthecharlesblake-110/+116
2018-01-18Add SIMPLE_HASH debug flag to cache logicthecharlesblake-1/+18
2018-01-18Tidy up game_state private accessthecharlesblake-15/+13
2018-01-18Fix sol_rules setup issuesthecharlesblake-5/+3
2018-01-18Revamp basic global cache classthecharlesblake-49/+99
2018-01-18Update game state with static pile refs & rulesthecharlesblake-32/+60
2018-01-18Update legal moves code to use new suit rep.thecharlesblake-1/+1
2018-01-18Add vector and initializer lst constructor to pilethecharlesblake-2/+9