🎮 Text Game Generator Lab

Choose a game type, describe a theme, generate the code, then play — all here.

1. Configure your game

Game type

A branching story where you pick numbered options to progress.

Theme examples

2. Generation settings

0.5 1.5
300 900

No game generated yet.

3. Generated code

4. Play the game


Tips — If the game cuts off mid-way, raise Max new tokens and regenerate. The generated code is editable — fix small bugs directly in the code box before running. Each ▶ Run Game click restarts from the beginning. Model weights download on first generate (~3 GB) and are cached for the session.