diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-14 21:19:44 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-14 21:19:44 -0500 |
| commit | fe0f2e5a2220223f4fd617340b98729fd3888075 (patch) | |
| tree | 9a1581caa63936006390fb108f8cf29fd8a48ba5 /ext/wittle_generator/PuzzlesetHard.cpp | |
| parent | 0822404cf75fb6ad04faf55861faaf8330effa59 (diff) | |
| download | wittle-fe0f2e5a2220223f4fd617340b98729fd3888075.tar.gz wittle-fe0f2e5a2220223f4fd617340b98729fd3888075.tar.bz2 wittle-fe0f2e5a2220223f4fd617340b98729fd3888075.zip | |
Added some puzzles from Variety randomizer
Diffstat (limited to 'ext/wittle_generator/PuzzlesetHard.cpp')
| -rw-r--r-- | ext/wittle_generator/PuzzlesetHard.cpp | 95 |
1 files changed, 95 insertions, 0 deletions
| diff --git a/ext/wittle_generator/PuzzlesetHard.cpp b/ext/wittle_generator/PuzzlesetHard.cpp index c775d64..8958456 100644 --- a/ext/wittle_generator/PuzzlesetHard.cpp +++ b/ext/wittle_generator/PuzzlesetHard.cpp | |||
| @@ -927,6 +927,101 @@ const std::vector<std::function<void(Generate&)>>& GetHardPuzzles() { | |||
| 927 | {Decoration::Star | Decoration::Color::Orange, 4}, | 927 | {Decoration::Star | Decoration::Color::Orange, 4}, |
| 928 | {Decoration::Star | Decoration::Color::Magenta, 5}}}); | 928 | {Decoration::Star | Decoration::Color::Magenta, 5}}}); |
| 929 | }, | 929 | }, |
| 930 | [](Generate& generator) { | ||
| 931 | generator.setGridSize(7, 7); | ||
| 932 | generator.setSymmetry(Panel::Symmetry::Rotational); | ||
| 933 | generator.setSymbol(Decoration::Exit, 0, 0); | ||
| 934 | generator.setSymbol(Decoration::Exit, 14, 14); | ||
| 935 | generator.setSymbol(Decoration::Exit, 14, 0); | ||
| 936 | generator.setSymbol(Decoration::Exit, 0, 14); | ||
| 937 | generator.setSymbol(Decoration::Start, 2, 2); | ||
| 938 | generator.setSymbol(Decoration::Start, 12, 12); | ||
| 939 | generator.setSymbol(Decoration::Start, 4, 4); | ||
| 940 | generator.setSymbol(Decoration::Start, 10, 10); | ||
| 941 | generator.setSymbol(Decoration::Start, 6, 6); | ||
| 942 | generator.setSymbol(Decoration::Start, 8, 8); | ||
| 943 | generator.generate( | ||
| 944 | 7, 7, | ||
| 945 | {{{Decoration::Stone | Decoration::Color::Magenta, 7}, | ||
| 946 | {Decoration::Stone | Decoration::Color::Black, 7}, | ||
| 947 | {Decoration::Dot, 6}}}); | ||
| 948 | }, | ||
| 949 | [](Generate& generator) { | ||
| 950 | generator.setSymbol(Decoration::Start, 0, 0); | ||
| 951 | generator.setSymbol(Decoration::Start, 5 * 2, 5 * 2); | ||
| 952 | generator.setSymbol(Decoration::Exit, 2 * 2, 0); | ||
| 953 | generator.setSymbol(Decoration::Exit, 2 * 2, 5 * 2); | ||
| 954 | generator.generate( | ||
| 955 | 5, 5, | ||
| 956 | {{{Decoration::Eraser | Decoration::Color::White, 1}, | ||
| 957 | {Decoration::Star | Decoration::Color::White, 5}, | ||
| 958 | {Decoration::Star | Decoration::Color::Black, 6}, | ||
| 959 | {Decoration::Star | Decoration::Color::Orange, 6}}}); | ||
| 960 | }, | ||
| 961 | [](Generate& generator) { | ||
| 962 | generator.setFlag(Generate::DisconnectShapes); | ||
| 963 | generator.setFlag(Generate::RegularStartEnd); | ||
| 964 | generator.generate(5, 5, | ||
| 965 | {{{Decoration::Poly | Decoration::Can_Rotate | | ||
| 966 | Decoration::Color::Yellow, | ||
| 967 | 3}, | ||
| 968 | {Decoration::Dot, 7}}}); | ||
| 969 | }, | ||
| 970 | [](Generate& generator) { | ||
| 971 | generator.setFlag(Generate::RegularStartEnd); | ||
| 972 | generator.generate( | ||
| 973 | 5, 5, | ||
| 974 | {{{Decoration::Eraser | Decoration::Color::Magenta, 1}, | ||
| 975 | {Decoration::Eraser | Decoration::Color::Green, 1}, | ||
| 976 | {Decoration::Dot, 3}, | ||
| 977 | {Decoration::Stone | Decoration::Color::Magenta, 1}, | ||
| 978 | {Decoration::Stone | Decoration::Color::Green, 1}, | ||
| 979 | {Decoration::Star | Decoration::Color::Magenta, 1}, | ||
| 980 | {Decoration::Star | Decoration::Color::Green, 1}, | ||
| 981 | {Decoration::Poly | Decoration::Color::Green, 2}, | ||
| 982 | {Decoration::Poly | Decoration::Negative | | ||
| 983 | Decoration::Color::Magenta, | ||
| 984 | 2}}}); | ||
| 985 | }, | ||
| 986 | [](Generate& generator) { | ||
| 987 | generator.setFlag(Generate::RegularStartEnd); | ||
| 988 | generator.generate( | ||
| 989 | 5, 5, | ||
| 990 | {{{Decoration::Triangle | Decoration::Color::Green, 3}, | ||
| 991 | {Decoration::Star | Decoration::Color::Green, 5}, | ||
| 992 | {Decoration::Poly | Decoration::Color::Green, 3}}}); | ||
| 993 | }, | ||
| 994 | [](Generate& generator) { | ||
| 995 | generator.setFlag(Generate::RegularStartEnd); | ||
| 996 | generator.generate( | ||
| 997 | 4, 4, | ||
| 998 | {{{Decoration::Triangle2 | Decoration::Color::Orange, 7}, | ||
| 999 | {Decoration::Dot, 9}}}); | ||
| 1000 | }, | ||
| 1001 | [](Generate& generator) { | ||
| 1002 | generator.generate( | ||
| 1003 | 6, 6, | ||
| 1004 | {{{Decoration::Triangle | Decoration::Color::Orange, 11}, | ||
| 1005 | {Decoration::Dot, 11}, | ||
| 1006 | {Decoration::Start, 3}, | ||
| 1007 | {Decoration::Exit, 1}}}); | ||
| 1008 | }, | ||
| 1009 | [](Generate& generator) { | ||
| 1010 | generator.setSymbol(Decoration::Start, 2 * 2, 5 * 2); | ||
| 1011 | generator.setSymbol(Decoration::Exit, 2 * 2, 0); | ||
| 1012 | generator.generate( | ||
| 1013 | 5, 5, | ||
| 1014 | {{{Decoration::Stone | Decoration::Color::Black, 6}, | ||
| 1015 | {Decoration::Star | Decoration::Color::Black, 6}, | ||
| 1016 | {Decoration::Poly | Decoration::Color::Black, 3}}}); | ||
| 1017 | }, | ||
| 1018 | [](Generate& generator) { | ||
| 1019 | generator.setSymbol(Decoration::Start, 5, 0); | ||
| 1020 | generator.setSymbol(Decoration::Exit, 5, 12); | ||
| 1021 | generator.generate(5, 6, | ||
| 1022 | {{{Decoration::Poly | Decoration::Color::Yellow, 4}, | ||
| 1023 | {Decoration::Dot, 5}}}); | ||
| 1024 | }, | ||
| 930 | }; | 1025 | }; |
| 931 | 1026 | ||
| 932 | return generator_fns; | 1027 | return generator_fns; |
