Read-Only Mode: Your progress will not be saved, and certain functions are unavailable.Sign upto access the full features of Cratecode.

Cratecode Playground

By: Cratecode


This is a small playground for testing out Cratecode.

Before going further, please keep in mind that you must be signed up to access certain features (like code running and AI). If you aren't already, there should be a link above to get you started.

Now, let's take a look at how this works. First, I want to give you a brief introduction to how the layout of this site works. First off, the window that you're reading this in is called the Toolbox. To your left are buttons that control which Toolbox item you're looking at. The most important ones are the Info/README item (that's this one!), and the file explorer item.

If you head into the file explorer, you can double click files to open them up in the editor. Then, you can edit them, hit the Run button, and see the results in the console. You can also type directly in the console, if you want.

To make the web view work, run an HTTP server on port 3000. Then, you'll be able to see the web server in the output tab (click the browser icon around where the console is).

Finally, there's the AI assistant window. If you're on a computer, it's a hidden panel to the far right. On mobile, it's a little robot button.

There are instructions in this window, but you basically just need to tell it what you're trying to do (e.g. A NodeJS program that reads a data file and prints each word on a separate line), and give it an optional question. If you don't give it a question, it'll look over your code and give you hints towards completing the program.

That's all. Have fun!

Output is unavailable in read-only mode.

AI Assistant