Skip to main content

Lemonade Arcade Banner

Discord Windows 11 Ubuntu 24.04 | 25.04 Made with Python Latest Release GitHub downloads License: MIT Star History Chart

Use your overpowered GPU to run AI that produces creative retro-style games! Enter your prompt and the playable game pops open in minutes.

Push your imagination to the limit, it's 100% free and local.

Hardware Requirement

Lemonade Arcade uses a 30 billion parameter LLM to generate games, which requires certain hardware specs to run well.

Configuration GPU/APU Memory Disk Space
Minimum (CPU) Ryzen AI 7000-series chip or newer 32 GB RAM 20 GB
Suggested (dGPU) Radeon 7800XT or newer 16 GB VRAM 20 GB
Suggested (APU) Strix Halo (Ryzen AI MAX 395) 64 GB unified memory 20 GB

Quick Start

Windows: click this:

Arcade Quick Start

Linux: click this

Demo

Lemonade Arcade GIF

Lemonade Arcade UI Lemonade Arcade setup

Overview

Lemonade Arcade combines the convenience of a ChatGPT-like interface with the concept of a game emulator. Instead of emulating existing games, it uses LLMs (served by Lemonade) to generate completely new games based on your prompts, then lets you play them instantly.

Features

  • Lemonade integration: automatically connects to Lemonade Server and has access to any Lemonade LLM.
  • AI Game Generation: Describe a game concept and watch as an LLM creates a playable Python game.
  • Game Library: All generated games are saved and can be replayed anytime.
  • Easy Management: View game source code, copy prompts for remixing, and delete games you don't want with a simple click.

Installation

Windows

Navigate to the Releases page, download the .exe, and get started!

Linux (and Windows Devs)

From PyPI (recommended):

pip install lemonade-arcade
lemonade-arcade

From Source:

  1. Clone this repository:

    git clone https://github.com/lemonade-sdk/lemonade-arcade
    cd lemonade-arcade
    
  2. Install the package:

    pip install -e .
    
  3. Run it:

    lemonade-arcade
    

Architecture

Game Generation

Games are generated with the following constraints:

  • Pure Python using the pygame library only.
  • No external images, sounds, or asset files.
  • Complete and playable with proper game mechanics.
  • Proper event handling and game loops.
  • Visual appeal using pygame's built-in drawing functions.

Note: LLMs are imperfect, and may fail to generate the game you asked for or fail to generate a functioning game at all.

Game Cache

Games are cached under the .lemonade-arcade folder in your home directory.

~/.lemonade-arcade/
└── games/
    ├── metadata.json    # Game titles and descriptions
    ├── abc12345.py      # Generated game files
    └── xyz67890.py

Troubleshooting

"Server Offline" Status

  • Ensure Lemonade Server is running on http://localhost:8000.
  • Check that you have models installed in Lemonade Server by opening the model manager: http://localhost:8000/#model-management.
  • Visit lemonade-server.ai for setup instructions.

Game Won't Launch

  • Check the generated code for any syntax errors.
  • Try regenerating the game with a more specific prompt.

Generation Failures

  • Try a simpler game concept.
  • Make sure your selected model supports code generation.
  • Check the lemonade-arcade and Lemonade Server logs for errors.

Examples

Here are some example prompts that work well:

  • Classic Games: "pong", "tetris", "pacman maze game", "asteroids"
  • Variations: "snake but food teleports", "breakout with power-ups", "flappy bird in space"
  • Original Ideas: "catching falling stars", "color matching puzzle", "maze with moving walls"

Contributing

Contributions are welcome! Feel free to:

  • Share interesting game prompts and results by opening an issue!
  • Report bugs or request features via GitHub issues.
  • Submit pull requests for improvements.

License and Attribution

This project is licensed under the MIT license. It was built with Python with ❤️ for the gaming and LLM communities. It is built on the shoulders of many great open source tools, including llama.cpp, Hugging Face Hub, and OpenAI API.

Most of the code for this project was generated by Claude Sonnet 4.

Maintainer

This project is maintained by @jeremyfowers.

Metadata

Release files for lemonade-arcade 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lemonade-arcade 0.1.7
File Size Uploaded
lemonade_arcade-0.1.7.tar.gz 663.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lemonade-arcade 0.1.7
File Interpreter ABI Platform
lemonade_arcade-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / lemonade_arcade-0.1.7.tar.gz

Download URL lemonade_arcade-0.1.7.tar.gz
Size 663.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2969b36e194a396abd9ea9c6221736fe482966cb2a89a5a96ea9d9b5d0cca718
BLAKE2b-256 checksum
How to use checksums
d5f63b060d0a1aaa3a9806bbaf53929b6e3db82447ae1a25998fcf4c5d8fe09b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / lemonade_arcade-0.1.7-py3-none-any.whl

Download URL lemonade_arcade-0.1.7-py3-none-any.whl
Size 663.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b9b8743f7e4fed1d05abd9506e2a67c098ad68b01de60cef8bc09d34bd07590
BLAKE2b-256 checksum
How to use checksums
5d1c14dcbe0f971d22708a6a9c5f2d6abac490eee72417939d9ddc48ca851f2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page