> ## Documentation Index
> Fetch the complete documentation index at: https://docs.summerengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I make a web game with AI?

> Create a browser-playable game with AI assistance. Export to HTML5/WebAssembly for itch.io, your website, or anywhere.

## Build a Web Game with Summer Engine

Summer Engine excels at web-based game development. Build your game with AI assistance, then export to HTML5/WebAssembly for browser play. No separate web framework needed.

## Step 1: Build Your Game

<Steps>
  <Step title="Download Summer Engine">
    Visit [summerengine.com](https://summerengine.com) and download for Mac or Windows
  </Step>

  <Step title="Create a project">
    New Project → Give it a name → Create & Open
  </Step>

  <Step title="Describe your web game">
    Tell Summer Engine what you want. Examples: "Create a browser game where you catch falling objects" or "Make a simple clicker game with a counter"
  </Step>
</Steps>

## Step 2: Configure for Web Export

When you're ready to export, Summer Engine can help:

* **"Configure my project for HTML5 export"**
* **"Set up the export template with proper threading settings"**
* **"Optimize asset loading for web browsers"**
* **"Add a loading screen with progress indication"**

## Step 3: Export and Deploy

<Steps>
  <Step title="Create web export preset">
    Project → Export → Add → Web
  </Step>

  <Step title="Export">
    Export your game. You get HTML + JavaScript + WebAssembly files ready for deployment
  </Step>

  <Step title="Deploy">
    Upload to itch.io, Netlify, GitHub Pages, or any static host. Your game runs in the browser
  </Step>
</Steps>

## Web-Specific AI Prompts

* **"Add touch controls for mobile browsers"**
* **"Implement responsive UI scaling for different screen sizes"**
* **"Add fallbacks for browsers that don't support WebAssembly"**
* **"Create a web-compatible save system using localStorage"**

## Next Steps

<CardGroup cols={2}>
  <Card title="Web Development Guide" icon="globe" href="/guides/web-development">
    Deep dive: browser compatibility, performance, deployment
  </Card>

  <Card title="Publishing to itch.io" icon="gamepad" href="/publishing/itch-io">
    Quick indie publishing with no approval process
  </Card>

  <Card title="Publishing Overview" icon="upload" href="/publishing/overview">
    All export options and platforms
  </Card>
</CardGroup>

***

Need help or have questions? Reach out to our founders at [founders@summerengine.com](mailto:founders@summerengine.com) or join our community on [Discord](https://discord.gg/yUpgtxnZky) for fast responses.
