{"id":13712642,"url":"https://github.com/grayhatdevelopers/vite-react-ts-multiplayer-game","last_synced_at":"2025-04-12T02:38:11.121Z","repository":{"id":220628107,"uuid":"747274953","full_name":"grayhatdevelopers/vite-react-ts-multiplayer-game","owner":"grayhatdevelopers","description":"Multiplayer game template built in Vite, React, TypeScript and PlayroomKit 🚀 ","archived":false,"fork":false,"pushed_at":"2024-07-18T08:57:12.000Z","size":530,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-12T02:37:59.791Z","etag":null,"topics":["boilerplate","playroom","playroom-kit","playroomkit","react","template","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/grayhatdevelopers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-23T16:02:43.000Z","updated_at":"2025-04-09T10:28:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"23b1cb8e-ed7f-4425-aee7-b45ef8fc4177","html_url":"https://github.com/grayhatdevelopers/vite-react-ts-multiplayer-game","commit_stats":null,"previous_names":["grayhatdevelopers/vite-react-ts-multiplayer-game"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grayhatdevelopers%2Fvite-react-ts-multiplayer-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grayhatdevelopers%2Fvite-react-ts-multiplayer-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grayhatdevelopers%2Fvite-react-ts-multiplayer-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grayhatdevelopers%2Fvite-react-ts-multiplayer-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grayhatdevelopers","download_url":"https://codeload.github.com/grayhatdevelopers/vite-react-ts-multiplayer-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507097,"owners_count":21115536,"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":["boilerplate","playroom","playroom-kit","playroomkit","react","template","vite"],"created_at":"2024-08-02T23:01:20.872Z","updated_at":"2025-04-12T02:38:11.101Z","avatar_url":"https://github.com/grayhatdevelopers.png","language":"TypeScript","funding_links":[],"categories":["Open source games and boilerplates"],"sub_categories":[],"readme":"# %projectName%\n\nA bootstrapped game template with multiplayer with PlayroomKit, built with multiplayer routing in mind.\n\nBest used with [create-multiplayer-game](https://github.com/grayhatdevelopers/create-multiplayer-game).\n\n## Features\n- **🎮 Multiplayer, out-of-box**: Batteries-included for multiplayer, using [PlayroomKit](https://docs.joinplayroom.com/setup). If the host navigates to a screen, **everyone navigates**! (This, of course, is controlled through a variable called `broadcast`. If broadcast is false, only the user themselves navigate to the route)\n- **🚧 Silent routing**: This game follows \"silent\" routing patterns. The game's phases are controlled by the route, however the route isn't visible to the player (it's stored in memory), giving a nice feel. Players only see `/play`.\n- **🐡 PWA Compatible**: Using [PWABuilder](https://www.pwabuilder.com/), deploy this game to App Store, Play Store, Microsoft Store, and Quest, with just a bit of configuration!\n- **⚡️ Asset Preloading**: Integrated some basic asset loading, to prevent players from seeing loading screens for images.\n- **✨ Asset Optimization and Caching**: Integrated some heavy PWA caching to ensure the game doesn't need to do too many unnecessary network calls. Also added some image optimization to compress images before builds.\n- **📺 Template screens**: This template comes with some nice screens which you might want to have in your game. Completely unstyled.\n\nFor reference on how a template like this can turn into a final product, check out:\n- [Guess the Language](https://guessthelanguage.grayhat.studio/)\n- [Tic-Tac-Toe: Infinity](https://tictactoeinfinity.grayhat.studio/)\n- [Meme, Chat, Robots!](https://memechatrobots.grayhat.studio)\n- [Death by AI](https://deathbyai.gg)\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `pnpm dev`\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\nThe page will reload when you make changes.\\\nYou may also see any lint errors in the console.\n\nPreferably, Player 1 should be on your computer.\nYou can also use your phone as Player 2, as long as your phone and your computer are on the same network.\n\n### `pnpm build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrayhatdevelopers%2Fvite-react-ts-multiplayer-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrayhatdevelopers%2Fvite-react-ts-multiplayer-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrayhatdevelopers%2Fvite-react-ts-multiplayer-game/lists"}