aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-12-14 15:12:36 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-12-14 16:09:31 +0100
commitbcd52547af58b15868e24f3904e307548d1fd505 (patch)
treecda0a871f65575bb15fb4536c7b103c13caf433e /web
parent21fdf9697ddfab0a9c082a91ae0a79b1b574774c (diff)
downloadnissy-core-bcd52547af58b15868e24f3904e307548d1fd505.tar.gz
nissy-core-bcd52547af58b15868e24f3904e307548d1fd505.zip
Cleanup, update documentation, fix examples
Diffstat (limited to 'web')
-rw-r--r--web/adapter.cpp11
-rw-r--r--web/http/index.html8
2 files changed, 9 insertions, 10 deletions
diff --git a/web/adapter.cpp b/web/adapter.cpp
index 9cb2e2d..ef9d425 100644
--- a/web/adapter.cpp
+++ b/web/adapter.cpp
@@ -16,12 +16,11 @@ std::map<std::string, nissy::solver> loaded_solvers;
16 16
17const std::set<std::string> available_solvers 17const std::set<std::string> available_solvers
18{ 18{
19 "h48h0k4", 19 "h48h1",
20 "h48h1k2", 20 "h48h2",
21 "h48h2k2", 21 "h48h3",
22 "h48h3k2", 22 "h48h4",
23 "h48h4k2", 23 "h48h5",
24 "h48h5k2",
25}; 24};
26 25
27bool is_solver_available(const std::string& name) 26bool is_solver_available(const std::string& name)
diff --git a/web/http/index.html b/web/http/index.html
index 6bd976b..b678ec5 100644
--- a/web/http/index.html
+++ b/web/http/index.html
@@ -12,11 +12,11 @@
12 <div id="scrambleRaw"> 12 <div id="scrambleRaw">
13 <input id="scrambleText" placeholder="Type the scramble here..."> 13 <input id="scrambleText" placeholder="Type the scramble here...">
14 <select id="solverSelector"> 14 <select id="solverSelector">
15 <option value="h48h3k2" selected="selected"> 15 <option value="h48h3" selected="selected">
16 h48 h=4 k=2 (300 Mb) - light 16 h48 h=4 (500 Mb) - light
17 </option> 17 </option>
18 <option value="h48h5k2" selected="selected"> 18 <option value="h48h5" selected="selected">
19 h48 h=5 k=2 (1 Gb) - fastest 19 h48 h=5 (1 Gb) - fastest
20 </option> 20 </option>
21 </select> 21 </select>
22 <button id="solveButton">Solve</button> 22 <button id="solveButton">Solve</button>

Generated with cgit - Back to sebastiano.tronto.net