semvec/pypi-packages huggingface dataset:
python-games 1.0.4
A python package with different python games
License: MIT
Requires Python: >=3.8.0
Keywords: python

# python-games
![GitHub](https://img.shields.io/pypi/v/python-games.svg?label=version&style=flat-square)

## Installing

```
# Linux/macOS
python3 -m pip install -U python-games

# Windows
py -3 -m pip install -U python-games

# Github
pip install git+https://github.com/kevys/python-games.git@main
```

## Quick Example

```
import games

c = input("Choose rock, paper or scissor > ")

output = games.rps(c)

if output[2] is False:
    print(f'Loser, You picked {output[0]}, AI picked {output[1]}')
elif output[2] is True:
    print(f'Winner, You picked {output[0]}, AI picked {output[1]}')
elif output[2] == None:
    print(f"{output[1]}, {output[0]}")
```