Skip to main content

command line tool for STEEM monsters

Project description

# Python library for steem monsters!

Steem monsters is a fully decentralized trading card game on the steem blockchain.

## Installation
```
pip install beem termcolor colorama
```


## Commands
The steem monsters shell can be started with
```
python steemmonsters.py
```

```
sm> stream
```
This command shows the current battles and which player are participating

```
sm> play deck_name
```
`deck_name` is one of the stored decks defined in `config.json`.


```
sm> play random
```
selects randomly a deck.

```
sm> show_deck deck_name
```
shows deck `deck_name`.

## Setup the beem wallet
Create a new wallet, when not already done.
```
beempy createwallet
```
Add the posting key of the player by:
```
beempy addkey
```


## Configuration
```
{
"wallet_password": "123",
"account": "holger80",
"mana_cap": 23,
"ruleset": "Standard",
"match_type": "Ranked",
"decks": {
"death1": ["Zintar Mortalis", "Haunted Spirit", "Skeleton Assassin", "Twisted Jester", "Haunted Spider", "Screaming Banshee", "Undead Priest"],
"water1": ["Alric Stormbringer", "Naga Warrior", "Medusa", "Mischievous Mermaid", "Pirate Captain", "Crustacean King"],
"fire1": ["Malric Inferno", "Serpentine Soldier", "Elemental Phoenix", "Goblin Shaman", "Fire Demon"],
},
"play_counter": 1
}
```

* `wallet_password` is the `beempy` wallet password
* `account`: steem user name of the player
* `mana_cap`: current mana cap
* `ruleset`: current rule set
* `match_type`: match type
* `decks` contains the different pre defined decks. There is no mana_cap check
* `play_counter` diffens how often a deck is played

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for steemmonsters, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size steemmonsters-0.0.2-py2.py3-none-any.whl (8.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size steemmonsters-0.0.2.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page