about summary refs log tree commit diff stats
path: root/ts
diff options
context:
space:
mode:
authorelioat <{ID}+{username}@users.noreply.github.com>2024-06-20 14:08:12 -0400
committerelioat <{ID}+{username}@users.noreply.github.com>2024-06-20 14:08:12 -0400
commit3ddca8731f61d224784f5a64bfc639d10a29944e (patch)
tree5d21a6ff25f61ac363a4a4e73bcafd92a6ed4aa2 /ts
parentcf7b723fcaaef9087e8a885f3c24a902914f2365 (diff)
downloadtour-3ddca8731f61d224784f5a64bfc639d10a29944e.tar.gz
*
Diffstat (limited to 'ts')
-rw-r--r--ts/bun/index.ts13
1 files changed, 12 insertions, 1 deletions
diff --git a/ts/bun/index.ts b/ts/bun/index.ts
index 51938d2..f1a0d95 100644
--- a/ts/bun/index.ts
+++ b/ts/bun/index.ts
@@ -28,6 +28,14 @@ const toad: Grid = [
     [0, 0, 0, 0, 0, 0]
 ];
 
+const rpentomino: Grid = [
+    [0, 0, 0, 0, 0, 0],
+    [0, 0, 0, 1, 1, 0],
+    [0, 0, 1, 1, 0, 0],
+    [0, 0, 0, 1, 0, 0],
+    [0, 0, 0, 0, 0, 0]
+];
+
 console.log('Initial:');
 simulate(initial, 5);
 
@@ -35,4 +43,7 @@ console.log('Flyer:');
 simulate(flyer, 5);
 
 console.log('Toad:');
-simulate(toad, 5);
\ No newline at end of file
+simulate(toad, 5);
+
+console.log('R-pentomino:');
+simulate(rpentomino, 22);
\ No newline at end of file