{"id":13472774,"url":"https://github.com/plbrault/youre-the-os","last_synced_at":"2026-02-09T02:07:43.114Z","repository":{"id":184920862,"uuid":"567061540","full_name":"plbrault/youre-the-os","owner":"plbrault","description":"A game where you are a computer's OS and you have to manage processes, memory and I/O events.","archived":false,"fork":false,"pushed_at":"2024-08-08T01:14:26.000Z","size":5692,"stargazers_count":1807,"open_issues_count":6,"forks_count":69,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-10-29T17:41:00.276Z","etag":null,"topics":["game","os","pygame","python","webassembly"],"latest_commit_sha":null,"homepage":"https://plbrault.github.io/youre-the-os/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plbrault.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-11-17T01:33:59.000Z","updated_at":"2024-10-28T17:45:27.000Z","dependencies_parsed_at":"2024-11-20T23:44:02.196Z","dependency_job_id":"72f59dc8-762b-4ac2-ad27-466c863d51bd","html_url":"https://github.com/plbrault/youre-the-os","commit_stats":null,"previous_names":["plbrault/youre-the-os"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plbrault%2Fyoure-the-os","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plbrault%2Fyoure-the-os/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plbrault%2Fyoure-the-os/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plbrault%2Fyoure-the-os/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plbrault","download_url":"https://codeload.github.com/plbrault/youre-the-os/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254364270,"owners_count":22058878,"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","os","pygame","python","webassembly"],"created_at":"2024-07-31T16:00:57.879Z","updated_at":"2026-02-09T02:07:43.109Z","avatar_url":"https://github.com/plbrault.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# You're the OS!\n\nThis is a game where you are the operating system of a computer.\nAs such, you have to manage processes, memory and I/O events.\nMake sure not to leave processes idling for too long, or the user will get really impatient and reboot you!\n\nYou can play the game here: [https://plbrault.github.io/youre-the-os](https://plbrault.github.io/youre-the-os)\n\nAlso available on [itch.io](https://plbrault.itch.io/youre-the-os).\n\n![In-game screenshot](readme-assets/in_game_screenshot.png)\n\n## Prerequisites\n\n* Python 3.13\n  * Later versions are currently unsupported due to an issue with the version of pygame used by the project. If needed, use [pyenv](https://github.com/pyenv/pyenv) to install Python 3.13 without impacting your system globally.\n* [pipenv](https://pypi.org/project/pipenv/)\n* An empty `.venv` directory at the root of the project\n\n## Usage\n\n***The main branch can be unstable. For a stable version, checkout a release tag.***\n\n**Install dependencies:**\n\n```bash\npipenv sync --dev\n```\n\n**Run as a desktop app:**\n\n```bash\npipenv run desktop\n```\n\n**Run web version:**\n\n```bash\npipenv run web\n```\n\n**Run sandbox mode**\n\nThe sandbox mode allows you to skip the menu and immediately run a custom stage. It is provided for development purposes.\n\nFirst, you need to create a sandbox configuration file. An example is provided in `src/sandbox/sample.py`. It is recommended to store your configuration file in that same `src/sandbox` directory. Files added to that directory will be ignored by Git.\n\nNext, run the following command, replacing `sandbox.sample` by the Python module path from `src` to your own configuration file (for instance, if your file is `src/sandbox/myConfig.py`, the module path will be `sandbox.myConfig`):\n\n```bash\npipenv run sandbox sandbox.sample\n```\n\n**Run with an automated script:**\n\n_(Original implementation by [@Wiguwbe](https://github.com/Wiguwbe))_\n\n\u003e **WARNING:** Running automation scripts (including the provided example) may cause rapidly changing colors on the screen.\n\n```bash\npipenv run auto \u003cscript.py\u003e [args]\n# to get all the available options\npipenv run auto --help\n```\n\nSee `automation/skeleton.py` for information on how to write your script.\n\n**Build web version without running:**\n\n```bash\npipenv run web build\n```\n\n**Create `web.zip` archive for itch.io:**\n\n```bash\npipenv run web archive\n```\n\n**Run linter:**\n\n```bash\npipenv run pylint\n```\n\n**Run unit tests:**\n\n```bash\npipenv run pytest\n```\n\n## License\n\nCopyright © 2023-present Pier-Luc Brault \u003cpier-luc@brault.me\u003e\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\n## Asset Licenses\n\n* The game icon/logo is a modified version of an image by [Muhammat Sukirman](https://thenounproject.com/creator/zero_wing/) published under the [Creative Commons Attribution License 3.0](https://creativecommons.org/licenses/by/3.0/).\n* Emojis used in the game are from [OpenMoji](https://openmoji.org/). They are published under the [Creative Commons Attribution-ShareAlike License 4.0](https://creativecommons.org/licenses/by-sa/4.0/).\n* The image used in the Game Over screen is by [Aleksandar Cvetanović](https://pixabay.com/fr/users/lemonsandtea-10190089/). It was published on Pixabay prior to January 2019, and as such, is available under the [Creative Commons Zero (CC0) License](https://creativecommons.org/publicdomain/zero/1.0/?ref=chooser-v1) according to Pixabay's Terms of Service.\n* The primary font used in the game is named *VT323*, and was designed by Peter Hull. The secondary font is named *Victor Mono* and was designed by Rune Bjørnerås. Both are published under the [Open Font License](https://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplbrault%2Fyoure-the-os","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplbrault%2Fyoure-the-os","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplbrault%2Fyoure-the-os/lists"}