AI Code Tests

AI code tests give several AI models the same coding prompt and show the code each one wrote side by side, with a live preview you can run on the page.

Angry Birds cover illustration

Angry Birds

Create single file html, css, javascript angry birds inspired game. I want it to have a menu screen, level selector and 10 levels

Minecraft cover illustration

Minecraft

You are an expert game developer tasked with creating a simplified game inspired by Minecraft, but with the following constraints and requirements. C…

Subway Surfers (with cars) cover illustration

Subway Surfers (with cars)

I want you to code a infinite runner game. It will be inspired by subway sufers where you have to move left right or stay in the center. You are moivi…

Sonic cover illustration

Sonic

can you make me a simple sonic 1 inspired game. for now just use simple blocks

GTA cover illustration

GTA

I want to create a single file GTA inspired game using threes and make it 3d. I want it to have the ability to run around, ump in and out of cars (tha…

AI Code Tests FAQ

What is an AI code test?

An AI code test is one coding prompt given to several AI models. Its page shows the prompt and the code each model wrote, so you can see how different models solve the same task.

How do I compare the models’ code?

Open a test and choose a model in the Models list to read its code. Sort the list by date or A-Z. A test with two or more results also links to Compare code outputs, which puts two models’ answers side by side.

Can I run the code a model wrote?

Yes. Switch from Code to Preview to run the output in a sandboxed frame on the page, then click the preview to interact with it. Refresh reloads the preview, and Copy Code copies the source.

Who writes the prompts and adds the results?

Franklin AI editors write each test’s title and prompt, then add the code each model returned for that prompt under the model’s name.

Why does a test show no models?

A test can be added before any model results. Until results are added it says so, and it is kept out of search.