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.
Turn on GitHub Pages
Section titled “Turn on GitHub Pages”- In your repository, click the Settings tab at the top. Its icon is a cog.
- In the list on the left, click Pages.
- Under Build and deployment, set Source to GitHub Actions.
Publish the game
Section titled “Publish the game”A workflow is the steps GitHub follows to test and publish your game. Run it once by hand:
- Click the Actions tab at the top.
- On the left, click Deploy to GitHub Pages.
- On the right, click Run workflow. A small box opens.
- In that box, click the green Run workflow button.
- Wait a minute or two, until the dot next to the new run turns green.
Play your game
Section titled “Play your game”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 from now on
Section titled “Every change from now on”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.