]> git.gir.st - solVItaire.git/commit
first version of join() -- to be replaced
authorgirst <girst@users.noreply.github.com>
Sun, 20 Jan 2019 20:32:24 +0000 (21:32 +0100)
committergirst <girst@users.noreply.github.com>
Sun, 20 Jan 2019 20:32:24 +0000 (21:32 +0100)
commita02ab4626e367536f17404020e8ec4fc1cb721e3
treeefe52c3c33c0468e41bfc21172231264ca37cced
parent231a2b72b0b26b33c1b531b83a8cc71f1d06423a
first version of join() -- to be replaced

this version is very suboptimal. we shouldn't take from longest piles,
as that will rip apart already constructed piles. instead, take from
piles where the card we want to move has the least amount of movable
cards _above_ it. even better if the card above is closed. even better
yet if there is no card above (resulting in an empty pile)
sol.c
sol.h
Imprint / Impressum