In release 0.0.10, some new features were added to the python version of steemmonsters (github).
Installation
Install beem
pip install beem -U
or when using anaconda (how to install beem on anaconda)
conda install beem
Create a beempy wallet
When not created, create one
beempy createwallet
and add the posting key
beempy addkey
You can check by
beempy walletinfo
if a wallet is already installed.
beempy listaccounts
shows, if a posting key already exists.
Using github
pip install colorama termcolor six requests
git clone https://github.com/holgern/steemmonsters.git
cd steemmonsters
nano config.json
python steemmonsters.py
Using pip (does not work on windows)
pip install steemmonsters -U
mkdir steemmonster_config1
cd steemmonster_config1
nano config.json
steemmonsters
New features
play foreever
When setting "play_counter": -1,
in the config.json playing do not stop.
Wait some seconds after each match
When setting play_delay
, e.g. play_delay: 10
, in the config.json a sleep is done after each match. The integer defines the wait time in seconds. play_delay: 0
means no sleep.
Stop playing when ranking is outside a defined border
When "play_inside_ranking_border": true
is set in the config.json and a ranking border is defined: "ranking_border": [2800, 3000]
, playing stops when the ranking is below the first number and above the second number.
For the example [2800, 3000]
, playing stops when the ranking is 2799 or 3001 after playing a match. When only one direction should be limited:
"ranking_border": [0, 3000]
- stop only when the ranking is above 3000"ranking_border": [2800, 10000]
- stop only when the ranking is below 2800. (a ranking of 10000 cannot be reached).
Play a random deck
When no deck is specified:
sm> play
a random deck is selected and played.
Show ranking
sm> ranking
shows the current ranking of the player.
Reload config
sm> reload_config
reads the changed config.json.
Current conflict
Set the following values for the current conflict
Example config.json
with all new features:
{
"wallet_password": "123",
"account": "holger80",
"mana_cap": 19,
"ruleset": "Lost Legendaries",
"match_type": "Ranked",
"decks": {
"water1": ["Alric Stormbringer", "Spineback Turtle", "Medusa", "Crustacean King", "Mischievous Mermaid"],
"death1": ["Zintar Mortalis", "Haunted Spirit", "Skeleton Assassin", "Undead Priest", "Twisted Jester"]
},
"play_counter": -1,
"play_delay": 10,
"play_inside_ranking_border": true,
"ranking_border": [2800, 3000]
}
Do you have any suggestions? Please let me know.
Very cool! Idea: “Steemit plays steemmonsters” let the community choose decks for each match, by listing the cards in comments
A useful feature would be capturing stats for each deck. Water1: 55% victory, Death1: 47% victory. Maybe more granular like splinter matchup stats. I.e. Water1: 78% of victory vs. Fire splinter.
Posted using Partiko iOS
Will be awesome to print match result and ranking after each battle in the log. Great job.
Hi @holger80!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 7.009 which ranks you at #87 across all Steem accounts.
Your rank has dropped 3 places in the last three days (old rank 84).
In our last Algorithmic Curation Round, consisting of 260 contributions, your post is ranked at #27.
Evaluation of your UA score:
Feel free to join our @steem-ua Discord server
Ok if I want play different ruleset and mana_cap?
How I must write my JSON config then?
For example from 15 to 17 manna I wanna use Life
from 18 to 22 - Water
and from 23 to 27 - Earth..
In case, if I have 23 points and 27 - I have different card setups.