LLM Test Prompts

All prompts › Games

C++ skateboarding game in a single source file

Gamesvery hardbuild testPrompt in EnglishC++compile check

What it tests: Whether the model can deliver a compilable, playable C++ game in one file: it has to pick and state a graphics approach, then build physics, tricks, grinding, combos and a follow camera.

Prompt length: 1,110 characters, roughly 280 tokens (estimate).

Create a complete, self-contained C++ skateboarding game in a single source file. The game should feature: - A late-90s California boardwalk-inspired skatepark - A visible skateboarder character and skateboard - Physics-based …

The source has no licence that allows copying, so only a short excerpt is shown here. The full prompt is one click away at the source.

How to grade it

Compiles with the command the model gives (note which library it assumed) and runs without external assets; ollie, flips, spins or grabs, rail grinding, combo scoring, a bail or fail state, start screen and restart, HUD with score, combo, speed and controls; comments on each major system; a 'known limitations' section at the end of the file.

Scorecard tick what the model got right: 0/4

Runs in your browser; nothing is saved or sent.

0/4

Where models usually fail

Code that doesn't compile; a silent dependency on a library without saying so; tricks that are only labels with no animation; no fail state.

Running it

Run it one-shot and judge the first answer. Open the result exactly as delivered (double-click for HTML). Give the model a large output budget: long specs get cut off on small context settings.

Source

Author
Arnie (GitHub @Arnie936)
From
Arnie936 / llm-prompting-tests
Exact file or post
https://github.com/Arnie936/llm-prompting-tests/blob/03445cf074852ec5535ece9d123bdff442e63ef5/README.md#4-c-skateboarding-game
Licence
No license file (all rights reserved)
How we use it
Excerpt only: open the full prompt at the source

Testing a local model? Check first whether it fits your hardware with Can I run this LLM?

More in Games