🧠 NanoConsole

Files

How NanoConsole Works

You create functions in the editor using lines like: define add(x,y)=x+y. When you press Save, NanoConsole loads every function from all files so they can be used in the console.

You run a function by typing its name with values: add(5,10). Strings must be in quotes, numbers don’t.

You can also store variables using: set hp = 100 or set name = "Max". Those values can be used inside functions.

You can use random, conditions, loops, and game helpers to build games, generators, or simulations.

Everything is saved automatically inside your browser.

Tools

+ - * / % **
== != > < >= <=
if(cond,a,b) loop(i,a,b,code)
rand() rand(n) randInt(a,b) pick(a,b,c)
upper(x) lower(x) length(x) repeat(x,n) reverse(x)
rollDice() chance(x) randPos(n)