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
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 Distribution
Built Distribution
Hashes for Uno_Game-1.1b12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d0a4c59f89785ca309c9e76367247f039f39a00d2363524f4bd166ad2489fa1 |
|
MD5 | bb97b30767bcf1ba7731a2c05646133b |
|
BLAKE2b-256 | 6c905e2680fc6874654df981eaa1e0ee5f7d69d697838b85a93b07404ec47b57 |