Create: Computing AgesBrass Docs
Official documentation · v0.2.0

Brass, the language of Computing Ages

Every function a computer can call, explained in plain words with real programs: from blinking a lamp to flying an airship.

Where to start

Libraries

Everything a program can call, grouped like in the game. The badge tells which computers have it.

Seven ages, six computers

Every age brings a faster computer. Speed is reached at 256 RPM: like any Create machine, a computer runs on rotation.

Tube Computer
Age III
Speed
400 instructions/s
RAM
2 K cells
Screen
paper teletype, 40 × 14
Storage
punch card deck, 4 KB
Network
none
Transistor Mainframe
Age IV
Speed
1,600 instructions/s
RAM
8 K cells
Screen
green phosphor, 51 × 19
Storage
magnetic tape, 16 KB
Network
none
Minicomputer
Age V
Speed
6,000 instructions/s
RAM
32 K cells
Screen
amber phosphor, 51 × 19
Storage
floppy disk, 64 KB
Network
cable
Personal Computer
Age VI
Speed
24,000 instructions/s
RAM
128 K cells
Screen
16 colours, 51 × 19
Storage
floppy disk, 64 KB
Network
cable, radio, Wi-Fi
Microcontroller
Age VI
Speed
8,000 instructions/s
RAM
16 K cells
Screen
16 colours, 40 × 12
Storage
soldered memory, 16 KB
Network
cable, radio, Wi-Fi
Modern Computer
Age VII
Speed
100,000 instructions/s
RAM
1 M cells
Screen
16 colours, 64 × 24
Storage
SSD, 1 MB
Network
cable, radio, Wi-Fi

Blocks a computer can drive

Real projects, explained line by line

Stock alarm and display boardWatch a Create vault, show the stock on a monitor and a Display Board, and light a lamp and ring a bell when an item runs low.Automatic item sorterEmpty an input chest into storage chests on a Data Cable, by item, by mod or by the end of the id, with an overflow chest and a status screen.Overstress guardRead the stress and capacity of a Create network, slow a Rotation Speed Controller down before the network overstresses, sound an alarm and draw a stress bar and its history.Door with a codeA keypad on the terminal that opens a Create door for a few seconds, locks itself after wrong codes, keeps the code in a file and logs every attempt.Touch control panelA wall of monitors with one button per machine: a press switches a Redstone Link frequency, and the states come back after a reboot.Smart intersectionTwo Traffic Lights and two Inductive Loop Detectors run by a state machine that serves the waiting road, with a minimum green, amber and red-amber phases, and flashing amber at night.Factory dashboardA wall of LCD Monitors that shows your stock as bar charts and the stress of the kinetic network, refreshed on a timer.Remote control over the networkStart, stop and watch a production line from another computer, with numbered orders, answers, timeouts, retries and a shared secret.Data logger and graphRecord a value every minute in a CSV file that never grows too big, and draw the last hour as a line graph with axes.Airship altitude holdAn autopilot for a Create Aeronautics balloon ship that holds the height you choose and keeps the ship level, explained step by step.Day and night lightingTurn the lamps of several zones on at dusk and off at dawn through Redstone Link frequencies, with a manual override button and a status screen showing the time.A snake gameA complete Snake with gfx: a grid, a snake made of a list of squares, arrow keys and WASD or ZQSD, a timer for the speed, random apples, a best score saved on the disk and a game over screen.A project in several filesSplit a larger program into a main file and libraries with import, read a settings file with defaults, keep a log, and update the program on many computers by floppy disk or over the network.