about summary refs log tree commit diff stats
path: root/ext/wittle_generator/PuzzlesetEasy.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-01-14 21:19:44 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2025-01-14 21:19:44 -0500
commitfe0f2e5a2220223f4fd617340b98729fd3888075 (patch)
tree9a1581caa63936006390fb108f8cf29fd8a48ba5 /ext/wittle_generator/PuzzlesetEasy.cpp
parent0822404cf75fb6ad04faf55861faaf8330effa59 (diff)
downloadwittle-fe0f2e5a2220223f4fd617340b98729fd3888075.tar.gz
wittle-fe0f2e5a2220223f4fd617340b98729fd3888075.tar.bz2
wittle-fe0f2e5a2220223f4fd617340b98729fd3888075.zip
Added some puzzles from Variety randomizer
Diffstat (limited to 'ext/wittle_generator/PuzzlesetEasy.cpp')
-rw-r--r--ext/wittle_generator/PuzzlesetEasy.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/wittle_generator/PuzzlesetEasy.cpp b/ext/wittle_generator/PuzzlesetEasy.cpp index 4e2f84f..d5a6ea3 100644 --- a/ext/wittle_generator/PuzzlesetEasy.cpp +++ b/ext/wittle_generator/PuzzlesetEasy.cpp
@@ -373,6 +373,19 @@ const std::vector<std::function<void(Generate&)>>& GetEasyPuzzles() {
373 {Decoration::Start, 2}, 373 {Decoration::Start, 2},
374 {Decoration::Exit, 1}}}); 374 {Decoration::Exit, 1}}});
375 }, 375 },
376 [](Generate& generator) {
377 generator.setFlag(Generate::RegularStartEnd);
378 generator.setFlag(Generate::FullGaps);
379 generator.generate(4, 4,
380 {{{Decoration::Gap, 7}, {Decoration::Dot, 9}}});
381 },
382 [](Generate& generator) {
383 generator.setFlag(Generate::RegularStartEnd);
384 generator.generate(5, 5,
385 {{{Decoration::Stone | Decoration::Color::Black, 5},
386 {Decoration::Stone | Decoration::Color::White, 7},
387 {Decoration::Dot, 7}}});
388 },
376 }; 389 };
377 390
378 return generator_fns; 391 return generator_fns;