TinyScript is an AI coding tool and 2D game builder made for kids. Its project-aware AI explains code, suggests safe changes, and lets kids review every line before applying it.
Block-based coding feels safe but hits a ceiling. Real languages have too many gotchas. TinyScript bridges the gap with TinyScript — small enough to hold in your head, real enough to build a playable game.
Variables, methods, events, if/else, for loops, lists. The same ideas they'll see in Python or JavaScript — just minus the punctuation soup.
Every keystroke re-runs the game. Change a number and the ball grows. No build step, no reload button, no "where did it go wrong?"
Move a Ball on the canvas and the editor writes setX/setY for you. Code is the source of truth — but the canvas is allowed to type.
TinyScript is the language kids use to build their games. It keeps the concepts that matter and drops semicolons, curly braces, and other punctuation overhead. Just var, when, if, for, and end.
Make a ball. Drop it on a platform. Three lines.
TinyScript is parsed and run entirely in the browser — no setup and no shipping kid code anywhere.
import Ball
import Platform
var b = new Ball(50, 30)
var p = new Platform(50, 80)
b.setSize(20)
p.setColor("#22c55e")TinyScript's AI reads the project, explains its thinking, and proposes a safe change. Kids review every line before anything is applied.
import Ball
var ball = new Ball(20, 70)Ask about your code, fix a bug, or build the next part of your game.
Proposals never change code silently.
Understands project files, selected code, and friendly compiler errors.
Explains the idea first, then helps turn it into working code.
Shows the exact lines it wants to change and waits for approval.
Ghost text guides every keystroke. Kids type real code and watch their game react instantly — earning XP with every step.
TinyScript ships with a full IDE built around how kids actually learn — visual, immediate, forgiving.
Type `b.` and see every method on a Ball — with parameter hints. Tab through placeholders like a pro.
Numbers get sliders. Colors get pickers. Edit literals visually without leaving the line of code.
Drag a ball on the canvas — `setX` and `setY` calls write themselves into your source.
Mistakes get squiggles, not stack traces. Errors point to the line, the column, and tell you what to fix.
Ball, Platform, Player, Star, Goal — drop them in by name. New objects unlock as kids level up.
Big game? Split it across files. Tabs at the top, shared imports, real project structure.
Hover any method or constructor for a plain-English description and parameter list. No googling required.
Every save lives in their portfolio. Show off the games. Ship the link. No download dance.
Spawn objects, react to events. Autocomplete fills in the boring parts.
import Ball
import Goal
var ball = new Ball(20, 30)
var goal = new Goal(80, 30)
when ball.reaches(goal)
ball.setColor("#fbbf24")
endLive preview. Hot reload. Drag the ball — code rewrites itself.
Every game lives at a public link. Hand it to grandma, hand it to school, hand it to anyone with a browser.
Open TinyScript, choose Code Game, and turn a few lines of real code into something playable.