Skip to main content

The backend and API code for the Unscripted minigame.

Project description

Fira

Fira is the main backend and API code for the minigame in Unscripted, a visual novel about software development. Fira provides many facets of the minigame, including a public API that players can use to code solutions to the minigame puzzles, a configuration and data generator from level files, and a virtual machine that runs low-level code that the minigame processes (NadiaVM). Fira is named after Fira Sans, one of the game's characters.

Getting started

Fira comes pre-packaged in Unscripted but can be installed outside of the game to work better with IDEs and other Python tools such as Poetry.

Usage

For players installing this package to solve minigame puzzles, using the Fira package to access the API is relatively straightforward:

from uvn_fira.api import get_level_information, CSPlayer, CSWorld

gp, gw = get_level_information(0,
                               fn_path=renpy.config.savedir + "/minigame",
                               exists=renpy.loadable,
                               load=renpy.exports.file)

Documentation on the API is located inside of Unscripted by going to Help › Minigame or Settings › Minigame.

The documentation for the entire package is located at https://fira.marquiskurt.net, which is useful for developers that wish to make custom toolkits that connect to the minigame's virtual machine or for modders that wish to make custom minigame levels.

Reporting bugs

Bugs and feature requests for Fira can be submitted on GitHub.

License

The Fira package is licensed under the Mozilla Public License v2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uvn-fira-1.3.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

uvn_fira-1.3.1-py2.py3-none-any.whl (25.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file uvn-fira-1.3.1.tar.gz.

File metadata

  • Download URL: uvn-fira-1.3.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/2.7.16 Darwin/19.4.0

File hashes

Hashes for uvn-fira-1.3.1.tar.gz
Algorithm Hash digest
SHA256 c6d1fd42868e97c1c4d7c3b1bec6a5071c912ffb9474a7ac34adfdabcb226ed0
MD5 efb30306b3ccfdb388373ef91953dae7
BLAKE2b-256 a9a9a7b13b4d34fa2001bc30c0e1890a87d894f9219f828c2b3686444bd74414

See more details on using hashes here.

File details

Details for the file uvn_fira-1.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: uvn_fira-1.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/2.7.16 Darwin/19.4.0

File hashes

Hashes for uvn_fira-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4d6588db72e983216e48a93d43a32fea7ad3416684901b7c7c14ab9c9ab69f55
MD5 4a4c3708568dba7a06958168807e04cb
BLAKE2b-256 8568ba274466a741b97890884020c03958b953aa204b764dd55633ac8a87eaaf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page