<feed xmlns='http://www.w3.org/2005/Atom'>
<title>metasol/almost-finished.json, branch master</title>
<subtitle>General Solitaire solver that avoids using hidden information</subtitle>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/4th-year-coursework/metasol/'/>
<entry>
<title>Split Solvitaire k+ moves into stock moves</title>
<updated>2019-02-17T00:16:12+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2019-02-17T00:16:12+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/4th-year-coursework/metasol/commit/?id=5fb3cdc6faee083ceb43dee168b440c92ba951ad'/>
<id>5fb3cdc6faee083ceb43dee168b440c92ba951ad</id>
<content type='text'>
In Solvitaire, going through the stock in stock-waste games is bundled
with the move out of the waste, in what's called a k-plus move. This
makes sense in Solvitaire, but in this system having each stock move be
explicit helps because it itemises all moves similarly, making shaving
off single moves easy.

The `calculate_stock_moves` function uses a simulation rather than a
simple calculation, which has a couple of downsides:
1. it's slower than a calculation;
2. it loops infinitely when given an index that's impossible to reach.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Solvitaire, going through the stock in stock-waste games is bundled
with the move out of the waste, in what's called a k-plus move. This
makes sense in Solvitaire, but in this system having each stock move be
explicit helps because it itemises all moves similarly, making shaving
off single moves easy.

The `calculate_stock_moves` function uses a simulation rather than a
simple calculation, which has a couple of downsides:
1. it's slower than a calculation;
2. it loops infinitely when given an index that's impossible to reach.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for reading gamestates from json files</title>
<updated>2019-01-29T12:29:37+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2019-01-29T12:29:37+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/4th-year-coursework/metasol/commit/?id=160b3a382440a91fca1b4bbcde693b8b7c164aa3'/>
<id>160b3a382440a91fca1b4bbcde693b8b7c164aa3</id>
<content type='text'>
Piles of cards can now be read from `.json` files using the
`--game`/`-g` flag, although the solver doesn't seem to like them.
Currently, cards mentioned in these files are all face-up, which means
that they aren't particularly useful for building whole games and more
just test cases.

Also added command-line options parsing, including accepting
randomisation seeds from the `--seed`/`-s` option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Piles of cards can now be read from `.json` files using the
`--game`/`-g` flag, although the solver doesn't seem to like them.
Currently, cards mentioned in these files are all face-up, which means
that they aren't particularly useful for building whole games and more
just test cases.

Also added command-line options parsing, including accepting
randomisation seeds from the `--seed`/`-s` option.
</pre>
</div>
</content>
</entry>
</feed>
