← Coding Lab APERTURE / ENGINE 4.0

Code what happens.

Create actual game behavior with visual rule blocks. Change the rules, run your program, inspect the generated JavaScript, and export your project. No account or API fees.

Game engine

1. Program your rules

Rules run in order whenever you press Step. Use ↑ and ↓ to change their priority. Conditions are evaluated at runtime.

Add a rule or load an example.

2. Read the JavaScript

This is a readable representation of your blocks. The engine executes the same validated operations directly—no eval or arbitrary student code execution.

Live simulation

Tap tiles in Build mode to change your game map.

3. Project missions

Mission 1 · First movement

Use MOVE and REPEAT to reach another tile. Explain how a loop changes the result.

Mission 2 · Collision logic

Use IF wall ahead and TURN to avoid obstacles.

Mission 3 · Scoring system

Use IF coin here and ADD score. Observe the effect of rule order.

Mission 4 · Design experiment

Compare two rule sets and explain why one succeeds more often.

Advanced learning

The visual engine is free. Existing written courses provide a separate next step.

Stripe handles checkout. No paid access is implied by this free engine.