Microcosm
Just a little 4X game written in Python using the library Pyxel. Inspiration taken from games I've played.
Pre-requisites
Playing Microcosm requires an installation of VLC media player on the player's machine. Installation instructions for your favourite operating system can be found here. If your operating system lists python-vlc (or something like that) as an optional dependency, it is advised that players also install that. Naturally, Python is also required, at version 3.10 or above.
Global multiplayer
In order to play games of Microcosm online, your computer and router must have UPnP enabled, as it is required for communication between clients and the server.
Play from release
Begin by downloading the latest release for your operating system.
macOS
- Extract the downloaded zip; double-clicking it in Finder is the easiest way.
- An application will be extracted - right click it and select Open.
- In the displayed security-related dialog, press the Open button again to start the game.
Please note that only ARM64 architectures are supported.
Linux
In terms of Linux distros, Fedora is explicitly supported and Ubuntu is built for, but the build is not tested. Other distros should find success in one of these two.
Additionally, only x86 architectures are supported.
- Extract the downloaded tarball using
tar -xzvf. - A binary will be extracted; run
./microcosmto start the game.
Windows
- Extract the downloaded zip.
- An EXE file will be extracted - run this to start the game, allowing Windows Defender to run any scans if it asks to do so.
Play from package
- Run
pip install --user microcosm-4x - Run
microcosm- Note: if this doesn't work, make sure Python's user scripts directory is on your PATH. See here for instructions.
Play from source
- Clone the repository.
- Run
pip install -r requirements.txt - Run
pyxel run microcosm
Hosting a local game server
Note: You should probably do this on a separate machine (or at least as another user on your usual one) to avoid local multiplayer saves being listed alongside single-player saves.
- Clone the repository.
- Run
pip install -r requirements.txt - Run
python game_server.py
Wiki
The Wiki can be viewed both on GitHub and in-game.
Metadata
Release files for microcosm-4x 4.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| microcosm_4x-4.1.1-py3-none-any.whl | Python 3 | none | any | Details for microcosm_4x-4.1.1-py3-none-any.whl |
Release files / microcosm_4x-4.1.1-py3-none-any.whl
| Download URL | microcosm_4x-4.1.1-py3-none-any.whl |
|---|---|
| Size | 45.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a7050c538ff6a443700140117dcd819b4bfd3a26be881e42f9eb8a79c882c4e
|
|
BLAKE2b-256 checksum How to use checksums |
dcffa719b2623837ee161dfb65d103bfd701338b4fb6b28dca9ae58faf818bf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Security for microcosm-4x 4.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.