Skip to content

plbrault/youre-the-os

Repository files navigation

You're the OS!

This is a game where you are the operating system of a computer. As such, you have to manage processes, memory and I/O events. Make sure not to leave processes idling for too long, or the user will get really impatient and reboot you!

You can play the game here: https://plbrault.github.io/youre-the-os

Also available on itch.io.

In-game screenshot

Prerequisites

  • Python 3.11
  • pipenv
  • An empty .venv directory at the root of the project

Usage

Install dependencies:

pipenv sync --dev

Run as a desktop app:

pipenv run desktop

Run web version:

pipenv run web

Run with an automated script:

(Implemented by @Wiguwbe)

pipenv run auto <script.py> [args]
# to get all the available options
pipenv run auto --help

See automated_example.py for more info on API.

Build web version without running:

pipenv run web build

Create web.zip archive for itch.io:

pipenv run web archive

Run linter:

pipenv run pylint

License

Copyright (c) 2023 Pier-Luc Brault pier-luc@brault.me

This 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.

This 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.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Asset Licenses