https://github.com/activestate/recipe-580811-uno-text-based
UNO (text-based)
https://github.com/activestate/recipe-580811-uno-text-based
learning learning-by-doing learning-python recipes snippets
Last synced: 6 months ago
JSON representation
UNO (text-based)
- Host: GitHub
- URL: https://github.com/activestate/recipe-580811-uno-text-based
- Owner: ActiveState
- License: mit
- Created: 2019-10-10T15:43:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-08T20:42:07.000Z (almost 6 years ago)
- Last Synced: 2025-04-05T04:51:15.896Z (7 months ago)
- Topics: learning, learning-by-doing, learning-python, recipes, snippets
- Language: Python
- Homepage: https://code.activestate.com/recipes/580811/
- Size: 33.2 KB
- Stars: 9
- Watchers: 25
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
This repository covers the following recipe from code.activestate.com:
[UNO (TEXT-BASED)
](https://code.activestate.com/recipes/580811/)
*Created by Brandon Martin on Sat, 15 Jul 2017*
A text based recreation of the classic card game featuring functional AIs to play with. Some rules have been modified. User interface is text based, non-curses, using only simple python commands to draw it.
## Usage
If you already have the [State Tool] installed you can simply run
```
state activate ActiveState-Recipes/recipe-580811-uno-text-based
```
If you do not have the [State Tool] installed you can use the following convenient one-liner.
Linux:
```
sh <(curl -q https://platform.activestate.com/dl/cli/install.sh) -n -f && state activate --path $HOME/ActiveState-Recipes/recipe-580811-uno-text-based ActiveState-Recipes/recipe-580811-uno-text-based
```
Windows:
```
powershell "Set-Item -Path Env:NOPROMPT_INSTALL -Value 'true'; IEX(New-Object Net.WebClient).downloadString('https://platform.activestate.com/dl/cli/install.ps1')" && state activate --path %APPDATA%/ActiveState-Recipes/recipe-580811-uno-text-based ActiveState-Recipes/recipe-580811-uno-text-based
```
macOS: not yet supported
[State Tool]: https://www.activestate.com/products/platform/state-tool/