{"id":21712860,"url":"https://github.com/eruvanos/arcade-new-game","last_synced_at":"2026-05-18T11:04:10.185Z","repository":{"id":263494060,"uuid":"890556961","full_name":"eruvanos/arcade-new-game","owner":"eruvanos","description":"A template for creating games with Python Arcade. Including workflows to build for MacOS, Linux, Windows.","archived":false,"fork":false,"pushed_at":"2025-01-25T19:35:01.000Z","size":193,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T11:57:06.617Z","etag":null,"topics":["game-dev","python","pythonarcade"],"latest_commit_sha":null,"homepage":"https://api.arcade.academy/en/development/index.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eruvanos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-18T19:23:06.000Z","updated_at":"2025-03-10T18:21:47.000Z","dependencies_parsed_at":"2024-11-18T21:50:28.110Z","dependency_job_id":"ba64049c-09c3-4f1c-a28c-62f108814f92","html_url":"https://github.com/eruvanos/arcade-new-game","commit_stats":null,"previous_names":["eruvanos/arcade-new-game"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/eruvanos/arcade-new-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruvanos%2Farcade-new-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruvanos%2Farcade-new-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruvanos%2Farcade-new-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruvanos%2Farcade-new-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eruvanos","download_url":"https://codeload.github.com/eruvanos/arcade-new-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruvanos%2Farcade-new-game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265495372,"owners_count":23776619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-dev","python","pythonarcade"],"created_at":"2024-11-25T23:48:33.859Z","updated_at":"2026-05-18T11:04:05.149Z","avatar_url":"https://github.com/eruvanos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![screenshot.png](docs/screenshot.png)\n\n# Arcade New Game Template\n\nA template for creating games with Python Arcade. \nIncluding workflows to build for MacOS, Linux, Windows.\n\n## Getting started\n\n\u003e This setup uses uv, a tool which reduces the hazzle of setting up Python to a single command.\n\u003e [Install uv](https://docs.astral.sh/uv/getting-started/installation/)\n\n1. Clone/Download this repository\n2. Install the dependencies using `uv sync`\n   This will ensure the required Python version and install the dependencies in a virtual\n   environment.\n3. RUn the game using `uv run python -m mygame`\n\n## Project structure\n\n- `mygame/` contains the game code\n- `mygame/resources/` contains the game assets (images, sounds, etc.)\n- `mygame/__main__.py` is the entry point of the game\n- `mygame/version.py` provides the version of the game\n- `mygame/utils` contains utility functions especially for frozen applications (PyInstaller,\n  cx_freeze)\n\n### Game code\n\nThe code for your first view is located in the `mygame/__init__.py`.\nIt is recommended to create further separate files and directories while the game grows.\n\n## Workflows\n\nThis setup makes use of GitHub actions.\nYou can use the `release` action to release a new version.\nThat will trigger the `publish` action to build the game for MacOS, Linux and Windows.\n\nThe `release` workflow requires you to set the `DEPLOY_KEY` secret in your repository settings.\n\n\u003e GitHub Actions comes with included minutes, so you can use this setup for free.\n\u003e The workflows require a few minutes, so you should not exceed the included minutes.\n\u003e \n\u003e Please ensure that you are not surprised by any costs.\n\u003e [More information](https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-actions/about-billing-for-github-actions#included-storage-and-minutes)\n\n### Add required deploy key\n\n1. Generate a new SSH key pair\n   ```bash\n   ssh-keygen -t rsa -b 4096 -C \"GITHUB Deploy Key\" -f deploy_key -N \"\"\n   ```\n2. Add the public key to your repository settings\n    - Go to your repository settings\n    - Click on `Secrets`\n    - Click on `New repository secret`\n    - Name the secret `DEPLOY_KEY`\n    - Paste the content of the public key file `deploy_key.pub` into the value field\n3. Add the private key to your repository settings\n    - Go to your repository settings\n    - Click on `Deploy keys`\n    - Click on `Add deploy key`\n    - Name the key `GitHub Actions Deploy Key`\n    - Paste the content of the private key file `deploy_key` into the key field\n    - Check the `Allow write access` checkbox\n    - Click on `Add key`\n4. Delete the key files from your local machine\n   ```bash\n   rm deploy_key deploy_key.pub\n   ```\n\n### Create a new release\n\n- Go to the `Actions` tab in your repository\n- Click on `Release` in the left sidebar\n- Click on `Run workflow`\n    - Choose the version increment (major, minor, patch)\n    - Click on `Run workflow`\n\n### Package details\n\nThe `publish` workflow will create artifacts for each platform.\nFor MacOS and Windows we use cx_freeze, because it is less often detected as virus compared to\nPyInstaller artifacts.\nFor Linux we use PyInstaller, because it is easier to set up and use.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feruvanos%2Farcade-new-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feruvanos%2Farcade-new-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feruvanos%2Farcade-new-game/lists"}