Gen Z Code

Draw it, then make it move. The board program runs on the Arduino.

Sandboxed
Unsaved project
Ctrl + Enter
Press Run
Console

Nothing yet. Use print("hello") in your game.

Board

The classic board most schools have.

No controls declared yet. Add one at the top of your sketch:
control("paddle", { pin: "A0", fallback: "mouseY" });
then read it with value("paddle").

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

Your data

This works now, but nothing is kept until you save the project.

Nothing kept yet. Use remember("best", 10) for one value, or a table for a row per go.

Tutor

Uses a small free trial until you add your own key.

Asking sends your sketch and any error to Google's Gemini. Do not put anything private in your code before asking.

Your sketch runs in a fully isolated frame: it cannot read your account and cannot send anything anywhere. Save it and share it — who may play and who may read the code are two separate questions.