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 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, modify unomain.options
. unomain.options
is a list of (label, func)
. func
accepts a 1-item list called quitter
. quitter[0]
is set to False
be default, setting it to True
causes the menu to close; being the main menu, this will most likely end the program.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for Uno_Game_Forge-1.1b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9aab95ece10c338c52d6d748b15e587d68494a97ed4229208e09187d5ce278e |
|
MD5 | bc54299b3d1963f43c261950ece6d5cc |
|
BLAKE2b-256 | 7d19b840761f2a539494eabd37a8a06b6ffdd7f5fb629848e04a08ba1bd1ef1f |