Skip to main content

A recreation of the Uno card 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-1.1.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

Uno_Game-1.1.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Uno Game-1.1.0.tar.gz
  • Upload date:
  • Size: 9.6 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-1.1.0.tar.gz
Algorithm Hash digest
SHA256 158f79db570f34f3425f47ad232d4c53e480a44b8a94302d1176a63d4df3681c
MD5 83369c8823c5bc70e43724fc0169fa39
BLAKE2b-256 06be8013f78ab7a166689ff5e49f34225e0a67fa9d5dc7b7c426e08d57055147

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Uno_Game-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 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-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f960953fde425d51f6314c6d6dac092c3ce6e8512315f398885e9afefa0c564d
MD5 03efe5f4e72567a3ca4cc04353eeadaf
BLAKE2b-256 0327fa2259583cf73b56ff3e78a68fbc3f6dd394c03036e58c0f9ee5e7fedaa6

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