Skip to main content

Modding for Uno Game

Project description

Running

To run Uno, use the command python -m uno. To run Uno Forge, use the command python -m uno_forge.

Installing

To install use the command python -m pip install uno-game, (python -m pip install uno-game-forge for Uno Forge).

Modding

NOTE: The latest version of uno_forge supports the following uno versions: 1.0.2

Starting

Create a mod in the mods folder or the ~/.uno_forge_mods folder with a compatable Python file extension and follow the following conventions:

File start:

import uno
import uno.main as unomain
import unoforge # Optional

File end:

if __name__ == '__main__': unomain.main()

Features

Custom main menu item

To add a custom main menu item, use the function unoforge.add_menu_function. A callback passed to this function may return True to exit the menu.

Executing something when the game ends

To execute something when the game ends, use the function unoforge.register_exit_callback.

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

Uno Game-Forge-1.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

Uno_Game_Forge-1.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file Uno Game-Forge-1.1.0.tar.gz.

File metadata

  • Download URL: Uno Game-Forge-1.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for Uno Game-Forge-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7158144a6e926f336443140a062f155e265a2e9297132cf6c31b50e9d618824b
MD5 ddbeba795b016ee15b05f5bd3b057b36
BLAKE2b-256 df159581c1a66acb3bc09e54c1523269e1e3916e1294e1c7c3cf6e0db45350e3

See more details on using hashes here.

File details

Details for the file Uno_Game_Forge-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: Uno_Game_Forge-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for Uno_Game_Forge-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ba81bb77d998ba3c984cb069bcbbcc8775845b8b9b1bd72b5019e99fd84cd6c
MD5 b1ba6469d7247e6cf82a58b6c98c11ce
BLAKE2b-256 1ee13aa09adf7f19583f1d5474b58e63e33e95bf74324ee67be57bef54f012f7

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