Skip to content

Commit

Permalink
add generic yinyang example
Browse files Browse the repository at this point in the history
  • Loading branch information
robx committed Jan 22, 2020
1 parent 6a269ca commit 2d52ba1
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
Binary file added tests/examples/yinyang-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions tests/examples/yinyang-example.pzg
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
- type: grid
style: dashed
grid: |
...
...
...
- type: cells
grid: |
o*o
...
...
substitute:
o: pearl-black
'*': pearl-white
- type: cells
tag: solution
grid: |
o*o
o*o
ooo
substitute:
o: pearl-black
'*': pearl-white
- type: edges
tag: solution
grid: |
o o o o
| |
o o o o
| |
o o-o o

o o o o
substitute:
'|': edge-vert
'-': edge-horiz

0 comments on commit 2d52ba1

Please sign in to comment.