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/PuzzlesetMedium.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/PuzzlesetMedium.cpp')
-rw-r--r-- | ext/wittle_generator/PuzzlesetMedium.cpp | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/ext/wittle_generator/PuzzlesetMedium.cpp b/ext/wittle_generator/PuzzlesetMedium.cpp index afc7e45..8e768d1 100644 --- a/ext/wittle_generator/PuzzlesetMedium.cpp +++ b/ext/wittle_generator/PuzzlesetMedium.cpp | |||
@@ -590,6 +590,118 @@ const std::vector<std::function<void(Generate&)>>& GetMediumPuzzles() { | |||
590 | 1}, | 590 | 1}, |
591 | {Decoration::Poly | Decoration::Orange, 1}}}); | 591 | {Decoration::Poly | Decoration::Orange, 1}}}); |
592 | }, | 592 | }, |
593 | [](Generate& generator) { | ||
594 | generator.setFlag(Generate::FullGaps); | ||
595 | generator.setSymbol(Decoration::Start, 4 * 2, 4 * 2); | ||
596 | generator.setSymbol(Decoration::Exit, 2 * 2, 0); | ||
597 | generator.generate( | ||
598 | 5, 5, | ||
599 | {{{Decoration::Gap, 7}, | ||
600 | {Decoration::Stone | Decoration::Color::Black, 5}, | ||
601 | {Decoration::Stone | Decoration::Color::Magenta, 6}}}); | ||
602 | }, | ||
603 | [](Generate& generator) { | ||
604 | generator.setFlag(Generate::FullGaps); | ||
605 | generator.setFlag(Generate::RegularStartEnd); | ||
606 | generator.generate( | ||
607 | 6, 6, | ||
608 | {{{Decoration::Gap, 11}, | ||
609 | {Decoration::Star | Decoration::Color::Black, 6}, | ||
610 | {Decoration::Star | Decoration::Color::Magenta, 6}}}); | ||
611 | }, | ||
612 | [](Generate& generator) { | ||
613 | generator.generate( | ||
614 | 4, 4, | ||
615 | {{{Decoration::Start, 1}, | ||
616 | {Decoration::Exit, 1}, | ||
617 | {Decoration::Dot_Intersection, 25}, | ||
618 | {Decoration::Stone | Decoration::Color::Black, 3}, | ||
619 | {Decoration::Stone | Decoration::Color::Magenta, 3}}}); | ||
620 | }, | ||
621 | [](Generate& generator) { | ||
622 | generator.generate( | ||
623 | 4, 4, | ||
624 | {{{Decoration::Start, 1}, | ||
625 | {Decoration::Exit, 1}, | ||
626 | {Decoration::Dot_Intersection, 25}, | ||
627 | {Decoration::Star | Decoration::Color::Black, 4}, | ||
628 | {Decoration::Star | Decoration::Color::White, 2}}}); | ||
629 | }, | ||
630 | [](Generate& generator) { | ||
631 | generator.generate(4, 4, | ||
632 | {{{Decoration::Start, 1}, | ||
633 | {Decoration::Exit, 1}, | ||
634 | {Decoration::Dot_Intersection, 25}, | ||
635 | {Decoration::Poly | Decoration::Color::Black, 2}, | ||
636 | {Decoration::Poly | Decoration::Negative | | ||
637 | Decoration::Color::Magenta, | ||
638 | 2}}}); | ||
639 | }, | ||
640 | [](Generate& generator) { | ||
641 | generator.generate( | ||
642 | 4, 4, | ||
643 | {{{Decoration::Start, 1}, | ||
644 | {Decoration::Exit, 1}, | ||
645 | {Decoration::Dot_Intersection, 25}, | ||
646 | {Decoration::Eraser | Decoration::Color::Black, 1}, | ||
647 | {Decoration::Star | Decoration::Color::Black, 3}, | ||
648 | {Decoration::Stone | Decoration::Color::Black, 3}}}); | ||
649 | }, | ||
650 | [](Generate& generator) { | ||
651 | generator.setFlag(Generate::RegularStartEnd); | ||
652 | generator.setFlag(Generate::RequireCombineShapes); | ||
653 | generator.generate(4, 4, | ||
654 | {{{Decoration::Eraser, 1}, | ||
655 | {Decoration::Poly | Decoration::Color::Yellow, 3}, | ||
656 | {Decoration::Gap, 5}}}); | ||
657 | }, | ||
658 | [](Generate& generator) { | ||
659 | generator.setFlag(Generate::RegularStartEnd); | ||
660 | generator.generate( | ||
661 | 4, 4, | ||
662 | {{{Decoration::Dot, 9}, | ||
663 | {Decoration::Eraser | Decoration::Color::Green, 2}}}); | ||
664 | }, | ||
665 | [](Generate& generator) { | ||
666 | generator.setFlag(Generate::RegularStartEnd); | ||
667 | generator.generate( | ||
668 | 4, 4, | ||
669 | {{{Decoration::Dot, 11}, | ||
670 | {Decoration::Eraser | Decoration::Color::Green, 2}}}); | ||
671 | }, | ||
672 | [](Generate& generator) { | ||
673 | generator.setFlag(Generate::RegularStartEnd); | ||
674 | generator.generate( | ||
675 | 5, 5, | ||
676 | {{{Decoration::Dot, 15}, | ||
677 | {Decoration::Eraser | Decoration::Color::Green, 2}}}); | ||
678 | }, | ||
679 | [](Generate& generator) { | ||
680 | generator.setFlag(Generate::RegularStartEnd); | ||
681 | generator.generate( | ||
682 | 5, 5, | ||
683 | {{{Decoration::Dot, 17}, | ||
684 | {Decoration::Eraser | Decoration::Color::Green, 2}}}); | ||
685 | }, | ||
686 | [](Generate& generator) { | ||
687 | generator.setFlag(Generate::RegularStartEnd); | ||
688 | generator.generate( | ||
689 | 5, 5, {{{Decoration::Triangle1 | Decoration::Color::Magenta, 15}}}); | ||
690 | }, | ||
691 | [](Generate& generator) { | ||
692 | generator.setSymbol(Decoration::Start, 2 * 2, 5 * 2); | ||
693 | generator.setSymbol(Decoration::Exit, 2 * 2, 0); | ||
694 | generator.generate( | ||
695 | 5, 5, | ||
696 | {{{Decoration::Stone | Decoration::Color::Black, 5}, | ||
697 | {Decoration::Stone | Decoration::Color::White, 5}, | ||
698 | {Decoration::Triangle | Decoration::Color::Orange, 5}}}); | ||
699 | }, | ||
700 | [](Generate& generator) { | ||
701 | generator.setFlag(Generate::RegularStartEnd); | ||
702 | generator.generate( | ||
703 | 6, 6, {{{Decoration::Triangle | Decoration::Color::Orange, 15}}}); | ||
704 | }, | ||
593 | }; | 705 | }; |
594 | 706 | ||
595 | return generator_fns; | 707 | return generator_fns; |