The playground
A scratchpad that runs six languages with no account and no setup - what it saves, what the two shortcuts do, and the ceilings your program runs under.
The playground is a single file, an editor and a Run button. No account, no project, no setup - it is the fastest way to run something on Revquix, and the right place for "does this actually work?"
Reach it from the command palette with ⌘K.
Six languages#
Java, C++, Python, JavaScript, TypeScript and SQL (SQLite).
Switching language keeps what you wrote in the one you left.
Giving your program input#
The Input panel below the editor is standard input. It sits collapsed as a single row until you put something in it, so it costs no space when you are not using it.
It is not an optional extra: practice problems and interview questions read from stdin almost without exception.
Two shortcuts#
| Run | ⌘ ↵ - Ctrl ↵ on Windows and Linux |
| Format | ⌘ S - Ctrl S |
Pasted code is formatted for you on the way in.
Your work is kept#
Every keystroke is stored in your browser, per language. Refresh, close the tab, come back tomorrow - it is there.
Signed in, a copy is also kept on your account, which is what carries your work between devices.
On a phone#
The layout is replaced rather than squeezed: the editor goes full width, the output rises as a sheet when a run finishes, the Run bar pins to the bottom, and a row of programming symbols appears above the keyboard - because the characters this is for are two keyboard-switches deep otherwise.
The ceilings#
Same runner the rest of Revquix uses, so the same limits:
- Your code - up to 64 KB.
- Input - up to 16 KB.
- Output - capped. A program that goes past it is stopped, not trimmed, and the result says so rather than handing you a truncated answer that looks complete.
- Time - a few seconds per run. An infinite loop ends as a timeout.
There is also a daily run allowance, shared with Projects and Practice. Signed out it is smaller, and you may be asked to complete a quick "are you human" check before your first run.
When you need more than one file#
The playground is deliberately one file. A file tree, dependencies between files, tests, AI assist and GitHub push are projects.
Related#
Was this page helpful?