Skip to content

Commit 599b723

Browse files
committed
✨ add grid samples
1 parent 53a1249 commit 599b723

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

packages/types/__fixtures__/grid.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,38 @@ export const what = createFromAscii(`
101101
.#
102102
#
103103
`);
104+
export const eight = createFromAscii(`
105+
106+
#####
107+
# #
108+
# # ####
109+
# #
110+
#### # #
111+
#. #
112+
#####
113+
`);
114+
export const hourglass = createFromAscii(`
115+
116+
######
117+
# #
118+
# .#
119+
## ###
120+
# #
121+
# #
122+
# #
123+
## ###
124+
# #
125+
# . #
126+
######
127+
`);
128+
export const labyrithn = createFromAscii(`
129+
################################################## #
130+
# #
131+
# ##################################################
132+
# #
133+
################################################## #
134+
#. #
135+
####################################################`);
104136

105137
const createRandom = (width: number, height: number, emptyP: number) => {
106138
const grid = createEmptyGrid(width, height);

0 commit comments

Comments
 (0)