Back to portfolio

Side project · 2023

Code Game

Spot the correct code snippet before the timer runs out.

I built Code Game in early 2023, shortly after the release of ChatGPT, to test whether an LLM could generate all content for a game. Each round shows two nearly identical Python snippets generated by ChatGPT: one is correct and one contains a bug.

The rules are simple. Click the snippet you think is correct. Every correct pick earns a point, and a wrong pick or an expired timer ends the game.

This page is a revamped version of the game, rebuilt in the style of this website. The original is still available at code-game.sebastianpdw.nl. Both versions use the same backend from 2023.

Score

0

Time

00:20

One of these runs, one has a bug. Click the one you trust

Fetching a question from 2023…