Cartwright

Make Atari 2600 games, with or without code

Draw your sprites, paint a screen, and say what happens with simple rule cards. Press Play and your game runs on an emulated 1977 console, right in the page. When you want to, open the Code tab and write it yourself.

Free and open source. No account. The browser version needs nothing installed. Best on a computer with a keyboard.

Cartwright in a browser: a sprite editor on the left, and on the right a running Atari 2600 game with a yellow figure, a red ghost, blue walls, three lives and a score.

From a blank screen to a game

You never see a line of code unless you want to. Cartwright writes it for you from what you draw and the rules you choose.

The screen editor: a grid of blocks with blue walls, and the two sprites shown where they start.

1. Draw

Paint two sprites pixel by pixel and build the screen from chunky blocks, in the console's own 128 colours. Click where each sprite starts.

Rule cards reading: when the player touches Ghost, then lose a life, and play a sound, and send the player back to the start.

2. Set the rules

"When the player touches the ghost, lose a life and play a sound." Rules are cards you fill in from drop-downs: score, lives, timers, sounds, game over.

The game running: a yellow figure and a red ghost in a blue walled room, with three lives and a score of zero below.

3. Play

Your game is built in under a second and runs beside the editor. Change something and it updates. Download the ROM to take it to another emulator.

Get Cartwright

Use it in your browser, or install it on your computer. They are the same app. The installed one works with no internet connection and saves files with your system's own Save window.

Looking for the desktop downloads…

What makes it different

The Atari 2600 has 128 bytes of memory and draws the picture one line at a time as the TV beam passes. Programming it is famously hard. Cartwright hides the hard part and keeps the fun part.

A real cartridge

What you download is a genuine 4K Atari 2600 ROM, not a lookalike: the same kind of file that emulators such as Stella, and flash cartridges for the original console, load.

It can't break the picture

Cartwright builds on batari Basic's proven display code, and its tests play real games to check that every frame keeps perfect time, so the picture stays steady.

Or write the code

The Code tab is an editor for batari Basic and assembly language. It explains the words under your pointer, marks mistakes as you type, and counts the TV lines in every frame.

Make the music too

Draw a tune on a grid that only offers notes the 2600 can really play. Hear it on the console's own sound chip, then put it in your game.

An optional AI helper

Describe a game in your own words and a model sets up a starting point. Use Claude with your own key, or a model running on your own computer.

Learn as you go

One click shows the code Cartwright wrote, with comments in plain words. Open any cartridge file on the Learn tab to see what it draws and read its program, explained.

Private by design

Everything runs in your browser. Your game is saved on your own computer, and nothing is uploaded unless you choose to use an AI service.

Free, and open

Cartwright is free software under the GPL. Read it, change it, and send improvements back.

An honest note: it is early

Cartwright is a young project. Today it makes single-screen games with a player, one other sprite, walls, score, lives and sound effects. Not yet:

  • shooting, more than two sprites, or more than one screen
  • music and title screens
  • touch controls for phones
  • saving a game as a file (it stays in your browser for now)

On the shoulders of giants

Cartwright is a thin layer over decades of other people's work: batari Basic by Fred Quimby and contributors, the DASM assembler, batari-basic-js by Haroldo O. Pinheiro, the 6502.ts emulator by Christian Speckner, and a homebrew community that has been working out how to program this machine, and writing it down, since 1995.

Read the full credits and a short history of the scene.

Your first game is a few minutes away

It opens with a small game already made. Change the ghost, move a wall, and press Play.