Skip to content

Put your game on the web

GitHub Pages is GitHub’s free web hosting. Turn it on once. After that, every merge goes on the web by itself.

  1. In your repository, click the Settings tab at the top. Its icon is a cog.
  2. In the list on the left, click Pages.
  3. Under Build and deployment, set Source to GitHub Actions.

A workflow is the steps GitHub follows to test and publish your game. Run it once by hand:

  1. Click the Actions tab at the top.
  2. On the left, click Deploy to GitHub Pages.
  3. On the right, click Run workflow. A small box opens.
  4. In that box, click the green Run workflow button.
  5. Wait a minute or two, until the dot next to the new run turns green.

Your game is now at:

https://<your-github-name>.github.io/<game-name>/

Open that address and play your first game. It is on the web.

Every change follows the same loop:

Ask → merge → play.

Claude makes the change on a branch. You merge it. A minute or two later, it is live. Reload your game’s page.

Next: Improve your game.