A downloadable game for Linux

This is an experiment: how well can a large language model develop a complete game for a fantasy console?

py-16 is a custom-built fantasy console inspired by the 16-bit era, written in Python. Games are developed as single Python files and can be exported as playable PDF cartridges.

For this test, Gemini 3.1 Pro was given the py-16 API cheatsheet — a compact reference of all available functions. Development was iterative: the model generated code independently based on the cheatsheet, responded to requests for additional features (e.g. enemy types, difficulty levels), and also made suggestions of its own. No manual bug fixes were necessary — the generated code ran without errors during testing.

The result is a fully functional platformer featuring:

- 5 levels with varied terrain and pits

- 3 enemy types (including shooting enemies)

- Moving platforms

- A boss fight (Slime King) with 3 phases

- Coins, spikes, and a highscore system

- 3 difficulty levels

- A custom chiptune sequencer

- In-game PDF manual export

The PDF file is a playable cartridge — simply open it with py-16.

Download fantasy console py16 : https://github.com/ProfPlanloz/py16

Published 2 days ago
StatusReleased
PlatformsLinux
AuthorProfPlanloz
GenrePlatformer
Tags16-bit, 2D, fantasy-console, gemini, py16, Retro, test
Average sessionA few seconds
InputsKeyboard
LinksGitHub
AI DisclosureAI Assisted, Code, Graphics, Sounds, Text

Download

Download
gemini_code_test.pdf 229 kB

Leave a comment

Log in with itch.io to leave a comment.