diff --git a/include/states.hpp b/include/states.hpp index af3fd5f..b422bed 100644 --- a/include/states.hpp +++ b/include/states.hpp @@ -142,7 +142,16 @@ inline auto state_complex_5r() -> State { } inline auto state_complex_5r_wc(const State &state) -> bool { - // R6x6:................................ba...................................... + return state.GetBlockAt(4, 2) == "ba"; +} + +inline auto state_complex_6r() -> State { + return State( + "R6x6:1231....1213..31........ba..121212..21................1221....." + ".....21.."); +} + +inline auto state_complex_6r_wc(const State &state) -> bool { return state.GetBlockAt(4, 2) == "ba"; } @@ -167,13 +176,14 @@ inline auto state_klotski_wc(const State &state) -> bool { } std::vector generators{ - state_simple_1r, state_simple_2r, state_simple_3r, - state_complex_1r, state_complex_2r, state_complex_3r, - state_complex_4f, state_complex_5r, state_klotski}; + state_simple_1r, state_simple_2r, state_simple_3r, state_complex_1r, + state_complex_2r, state_complex_3r, state_complex_4f, state_complex_5r, + state_complex_6r, state_klotski}; std::vector win_conditions{ state_simple_1r_wc, state_simple_2r_wc, state_simple_3r_wc, state_complex_1r_wc, state_complex_2r_wc, state_complex_3r_wc, - state_complex_4f_wc, state_complex_5r_wc, state_klotski_wc}; + state_complex_4f_wc, state_complex_5r_wc, state_complex_6r_wc, + state_klotski_wc}; #endif