{"id":29572643,"url":"https://github.com/accelbyte/accelbyte-unity-bytewars-game","last_synced_at":"2026-01-26T06:13:42.123Z","repository":{"id":156304090,"uuid":"614718565","full_name":"AccelByte/accelbyte-unity-bytewars-game","owner":"AccelByte","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-12T02:29:00.000Z","size":76668,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"tutorialmodules","last_synced_at":"2026-01-21T00:49:18.994Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AccelByte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-16T07:10:13.000Z","updated_at":"2025-12-12T02:21:36.000Z","dependencies_parsed_at":"2025-07-19T05:36:12.258Z","dependency_job_id":null,"html_url":"https://github.com/AccelByte/accelbyte-unity-bytewars-game","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/AccelByte/accelbyte-unity-bytewars-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Faccelbyte-unity-bytewars-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Faccelbyte-unity-bytewars-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Faccelbyte-unity-bytewars-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Faccelbyte-unity-bytewars-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AccelByte","download_url":"https://codeload.github.com/AccelByte/accelbyte-unity-bytewars-game/tar.gz/refs/heads/tutorialmodules","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Faccelbyte-unity-bytewars-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28768133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-07-19T05:10:43.682Z","updated_at":"2026-01-26T06:13:42.117Z","avatar_url":"https://github.com/AccelByte.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Byte Wars - Unity\n\n## Overview\n\nByte Wars is the official tutorial game for AccelByte Gaming Services (AGS). It is intended to act as a sample project that can be used as a reference on the best practices to integrate our services into your game. We created Byte Wars from scratch as a fully functional offline game. This offline game was then brought online with the power of AccelByte’s platform by adding different services from each of our service areas like access, play and engagement. Every tutorial module walks you through a step by step guide to add a specific feature to Byte Wars which you can then translate into your own game.\n\n## Prerequisites\n\n* Use **Unity Editor** 2021 LTS with minimum version 2021.3.16f1.\n\n## Branches\n\nByte Wars published the source code in two branches:\n* **main branch** is the vanila version game source code without AccelByte's plugin and will in use for [Tutorial Module: Initial Setup](https://docs.accelbyte.io/gaming-services/tutorials/byte-wars/unity/learning-modules/general/module-initial-setup/).\n* **tutorialmodules branch** is the branch that has the AccelByte's Plugins and all the Byte Wars tutorial modules with feature flag.\n\n## Clone Byte Wars\n\n### Main Branch\n\nJust run the following git command to clone the game.\n```batch\ngit clone git@github.com:AccelByte/accelbyte-unity-bytewars-game.git\n```\n### Tutorial Modules Branch\n\nThe `tutorialmodules` branch has a package of AccelByte Unity SDK setup in package manager from the following GitHub link:\n* [AccelByte Unity SDK](https://github.com/AccelByte/accelbyte-unity-sdk).\n\nThis AccelByte Unity SDK package are required to follow along the Byte Wars Tutorial and it will be automatically downloaded when the project opened for the first time.\n\nTo clone the repository and checkout the tutorial branch, run the following command:\n\n```batch\n    git clone --branch \u003cbranch-name\u003e git@github.com:AccelByte/accelbyte-unity-bytewars-game.git\n```\n\n## Open Byte Wars in Unity\n\n1. From Unity Hub, go to Projects sidebar and click open in the project panel \n2. A file browser will appear, then select Byte Wars project folder and click open. \n3. The Byte Wars project will be added into the project panel with the editor version. Click on the project to open it in the Unity Editor.\n\n## Run Byte Wars Offline (Main Branch)\n\n### Run via Editor\n\n1. Open the Byte Wars project on your Unity Editor. \n2. From project window, go to Assets\u003eScenes then double click MainMenu scene file. Make sure MainMenu has opened in the hierarchy.\n\n### Run via Packaged Game\n\n1. Open the Byte Wars project on your Unity Editor \n2. In your menu taskbar, go to File \u003e Build Settings, a popup window will appear and and leave build setting as default and click build button.\n3. Select the destination folder to save the package file and press select folder button.\n4. Open the destination folder and double click the ByteWars.exe to play the game.\n\n### Build from command line\n1. Build Server run: `build_server.bat`\n2. Build Client run: `build_client.bat`\n\n### Debug Mode\n1. To enable debug mode add `BYTEWARS_DEBUG` in Edit -\u003e Project Settings -\u003e Player -\u003e Script Compilation -\u003e Scripting Define Symbols. please remove `BYTEWARS_DEBUG` scripting define symbols before publish/release it \n2. To test peer to peer server and act as host on branch `Main` or `Master`, add `BYTEWARS_P2P_HOST` in Scripting Define symbols\n\n### Peer to Peer Mode\nPeer to Peer mode is currently disabled, to enable it check `Assets\\Scripts\\UI\\MainMenu\\PlayOnlineMenu.cs` line `28`.\n\n## Run Byte Wars Online (Tutorial Modules Branch)\nFollow along Byte Wars [Learning Paths](https://docs.accelbyte.io/gaming-services/tutorials/byte-wars/unity/learning-paths/). We suggest you to start with the [Login with Device ID and Steam path](https://docs.accelbyte.io/gaming-services/tutorials/byte-wars/unity/learning-paths/authentication/unity-path-login-device-id-and-steam/) if you're unsure where to start.\n\n## Git\nTo revert files with only line ending difference use --renormalize. Example this command will revert all prefabs with only line ending difference and also stage (add) other actually changed prefab files. \n```\ngit add --renormalize *.prefab\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccelbyte%2Faccelbyte-unity-bytewars-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccelbyte%2Faccelbyte-unity-bytewars-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccelbyte%2Faccelbyte-unity-bytewars-game/lists"}