diff options
| author | Simon Tatham <anakin@pobox.com> | 2017-11-18 15:16:40 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2017-11-18 15:26:13 +0000 |
| commit | 8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9 (patch) | |
| tree | 4dd554e21df0d6fff2d4a226c8df8a64c86e53ee /loopy.c | |
| parent | 69773d855b517ea356c3c02add97893201de2066 (diff) | |
| download | puzzles-8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9.zip puzzles-8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9.tar.gz puzzles-8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9.tar.bz2 puzzles-8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9.tar.xz | |
New grid type: the trihexagonal tiling, or 'kagome lattice'.
Regular hexagons and equilateral triangles in strict alternation, with
two of each interleaved around each vertex.
https://en.wikipedia.org/wiki/Trihexagonal_tiling
Thanks to Michael Quevillon for the patch.
Diffstat (limited to 'loopy.c')
| -rw-r--r-- | loopy.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -278,6 +278,7 @@ static void check_caches(const solver_state* sstate); A("Penrose (kite/dart)",PENROSE_P2,3,3) \ A("Penrose (rhombs)",PENROSE_P3,3,3) \ A("Great-Great-Dodecagonal",GREATGREATDODECAGONAL,2,2) \ + A("Kagome",KAGOME,3,3) \ /* end of list */ #define GRID_NAME(title,type,amin,omin) title, @@ -544,6 +545,7 @@ static const game_params loopy_presets_more[] = { #ifdef SMALL_SCREEN { 7, 7, DIFF_HARD, LOOPY_GRID_HONEYCOMB }, { 5, 4, DIFF_HARD, LOOPY_GRID_GREATHEXAGONAL }, + { 5, 4, DIFF_HARD, LOOPY_GRID_KAGOME }, { 5, 5, DIFF_HARD, LOOPY_GRID_OCTAGONAL }, { 3, 3, DIFF_HARD, LOOPY_GRID_FLORET }, { 3, 3, DIFF_HARD, LOOPY_GRID_DODECAGONAL }, @@ -552,6 +554,7 @@ static const game_params loopy_presets_more[] = { #else { 10, 10, DIFF_HARD, LOOPY_GRID_HONEYCOMB }, { 5, 4, DIFF_HARD, LOOPY_GRID_GREATHEXAGONAL }, + { 5, 4, DIFF_HARD, LOOPY_GRID_KAGOME }, { 7, 7, DIFF_HARD, LOOPY_GRID_OCTAGONAL }, { 5, 5, DIFF_HARD, LOOPY_GRID_FLORET }, { 5, 4, DIFF_HARD, LOOPY_GRID_DODECAGONAL }, |