python steemmonsters 0.0.13 released - several improvements

Repository

https://github.com/holgern/steemmonsters

steemmonsters is a python command line tool for playing steemmonsters. Decks, player name and other settings are defined in a json file. Before playing, the posting key has to be stored inside the beem wallet. The password which is used to encrypt the posting key, can be stored in the config file or entered each time on start.

New features

Load different settings files on startup

It is possible to load different config json files on startup:

steemmonsters -c config2.json

or

python steemmonsters.py -c config2.json

The wallet password must not anymore stored in the config file

Instead of storing the wallet password, it can now be entered each time when the tool is started. Just removed the wallet_password line from the config file.

Play mode can be aborted with ctrl+c when waiting

When play_delay is set in the config file, playing a new match can be aborted by pressing ctrl+c after a match when the line

waiting 5 seconds

is shown. When pressing ctrl+c at this time point, the program itself is not terminated.

Unit tests and CI integration added

A simple unit test for testing generate_key and generate_team_hash has been added. Integration into travis-ci and appveyor.com has been done.

image.png

image.png

steemmonsters can be used without the need to install python on windows

After downloading the standalone version of beempy (https://github.com/holgern/beem/releases) and the standalone version of steemmonsters in hte release-site, they can be extracted and used to play steemmonsters.

Two versions can be downloaded, a packed one-file exe or a directory containing. The packed one-file is easier to handle, but slower on startup:

Both zip files are created inside the appveyor CI:
image.png

After unpacking the beem and the steemmonsters zip file into two different directories, they can be used. Open e.g. the Windows PowerShell and go into the directory containing beem.
When not already a wallet was created:

.\beempy.exe createwallet

Adding the posting key of the playing steem account:

.\beempy.exe addkey

On Windows PowerShell, the key can be pasted, using a right click.

Create a config.json as shown in https://github.com/holgern/steemmonsters.

Go to the directory containing steemmonsters.exe

.\steemmonsters.exe

or

.\steemmonsters.exe -c ..\path\to\config.json

Short help texts were added for all commands

When entering ? or help all available commands can be seen:
image.png

Stop play when reaching a loosing streak

In the config file, stop_on_loosing_streak can be defined. When set, playing stops when loosing the defined number in a row.

Commit history

Release 0.0.13

  • 21b9a93
  • ctrl+c can be used after a battle to abort playing
  • the wallet password can be removed from the config.json and entered each time instead

Release 0.0.12

  • commit 4fbd84c
  • Help text for commands added
  • Option to change the config file on startup
  • Fix bug in stream

Release 0.0.11

  • commit bc810e4
  • CI tools (travis and appveyor) added
  • pep8 formating fixed
  • steemmonsters play function improved
    • more information
    • better handling
  • new configuration added:
    • stop_on_loosing_streak - stops fighting when a loosing streak is reached
  • Unit test for utils added
  • spec files for standalone executable added

Release 0.0.10

  • commit b3e4e85
  • New options added for play
  • several bug fixes
  • readme improved

GitHub Account

https://github.com/holgern/

H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
6 Comments