AI now follows the A* algorithm more closely by using a separate priority queue from the open_set.

This commit is contained in:
Zed A. Shaw 2025-03-30 12:37:34 -04:00
parent 72951f308f
commit 922fbeba0e
9 changed files with 72 additions and 75 deletions

View file

@ -25,6 +25,7 @@ TEST_CASE("RitualEngine basic tests", "[rituals]") {
re.set_state(ritual, "has_spikes", true);
re.plan(ritual);
/*
fmt::println("\n\n------------ TEST WILL DO MAGICK TOO");
ritual.dump();
REQUIRE(ritual.will_do("magick_type"));
@ -47,6 +48,7 @@ TEST_CASE("RitualEngine basic tests", "[rituals]") {
re.plan(ritual);
fmt::println("\n\n------------ TEST WILL DO LARGE DAMAGE BOOST");
ritual.dump();
*/
}
TEST_CASE("confirm that cycles are avoided/detected", "[rituals]") {