aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Blake2017-11-07 12:12:20 +0000
committerGitHub2017-11-07 12:12:20 +0000
commit452611c48e0fd0c0d261c4519fdcce5b25d10c59 (patch)
treed78464ad2c3e4e49141195d0ceba3dd1c0d2498f
parentMerge pull request #17 from thecharlesblake/free-cell (diff)
parentAdd report of supervisor meeting: 2017-11-07 (diff)
downloadmetasol-452611c48e0fd0c0d261c4519fdcce5b25d10c59.tar.gz
metasol-452611c48e0fd0c0d261c4519fdcce5b25d10c59.zip

Merge pull request #18 from thecharlesblake/docs

Add report of supervisor meeting: 2017-11-07

-rw-r--r--docs/supervisor-meetings/2017-11-07.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/supervisor-meetings/2017-11-07.md b/docs/supervisor-meetings/2017-11-07.md
new file mode 100644
index 0000000..9dae911
--- /dev/null
+++ b/docs/supervisor-meetings/2017-11-07.md
@@ -0,0 +1,39 @@
+# Supervisor Meeting: 2017-11-07
+
+## Done since last meeting
+
+### Add States Searched
+When my solver prints out a solution, it now also outputs the number of states
+searched.
+
+### Add Free Cell
+I have added the game Free Cell to the solver, which involved implementing the
+"cell" feature.
+
+### Almost Completed Canfield
+I have almost finished adding the game Canfield to the solver, which involves
+implementing the "stock/waste" feature, and the "reserve" feature.
+
+## Discussion Points
+
+We spoke about the usefulness of having some kind of script to evaluate at what
+"level" my solver can currently solve a range of basic game types. To do this
+it may be necessary to implement the feature whereby game rules are interpreted
+according to a user-supplied JSON schema.
+
+We also discussed the fact that it might be worth quickly implementing some
+kind of hash table to store states seen so far, just because the current
+naive implementation has performance so bad it makes the solver painfully slow.
+
+It was also discussed that in the longer term, it would be worth thinking about
+some heuristics that might help in getting to correct solutions quicker.
+
+## Future Work
+
+- Finish implementing Canfield
+- Add another two games: one to specifically target the stock, and one for the
+reserve
+- Add some basic unit testing for each "core" game type
+- Clean up and refactor the code a little
+- Add reading in the game rules from JSON
+- Create a performance benchmark script