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.1b13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd919713cb1a50c6d5fb74fab9f03e8993570e070ca6cf34aad44270e1c10d4 |
|
MD5 | d1d9f111f51d123d1028811707011b51 |
|
BLAKE2b-256 | 6e14b1cd9e25f0165642b5f43353fed6600e1f2ca8d666c45959975aa5d5ae56 |