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
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
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
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 |
Close
Hashes for steemmonsters-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9c6ecaf91ad121040eb3c50b7dd0d6dd2fee52c9d4c1d6f3a0d36f05d10dcbd |
|
MD5 | 1ea56ee9607f55ae8906e59c1f547fac |
|
BLAKE2-256 | 7e907b9b2661096e8c6aee8ceef2bafd76a89384d7eade1784c4e2567db37dd1 |