summaryrefslogtreecommitdiff
path: root/src/engine/TheAbstractionEngine.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-04 13:47:27 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-04 13:47:27 -0700
commitf4ad269f8b9f9b0bfcc60bb2584316c3fdd10d10 (patch)
treeedfbff7625e33ed88eaf50c105c8bf47cd6b70c9 /src/engine/TheAbstractionEngine.ts
parente2e74df94fcdd2f3165e035fc00c98573f0b40d8 (diff)
downloadthe-abstraction-engine-f4ad269f8b9f9b0bfcc60bb2584316c3fdd10d10.tar.gz
the-abstraction-engine-f4ad269f8b9f9b0bfcc60bb2584316c3fdd10d10.zip
add interpreter
Diffstat (limited to 'src/engine/TheAbstractionEngine.ts')
-rw-r--r--src/engine/TheAbstractionEngine.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/engine/TheAbstractionEngine.ts b/src/engine/TheAbstractionEngine.ts
index 9ea5b90..30c3422 100644
--- a/src/engine/TheAbstractionEngine.ts
+++ b/src/engine/TheAbstractionEngine.ts
@@ -55,15 +55,10 @@ export class TheAbstractionEngine {
const player = new Player();
this.game.addEntity(player);
- const box = new FunctionBox({ x: 3, y: 1 }, "λ x . (x)");
- this.game.addEntity(box);
- const box2 = new FunctionBox({ x: 4, y: 1 }, "λ x . (x)");
- this.game.addEntity(box2);
-
const wall = new Wall({ x: 5, y: 3 });
this.game.addEntity(wall);
- const factory = new LambdaFactory({ x: 6, y: 6 }, "λ x . (x)", 10);
+ const factory = new LambdaFactory({ x: 6, y: 6 }, "(λ (x) . x)", 10);
this.game.addEntity(factory);
const lockedDoor = new LockedDoor({ x: 8, y: 8 });