معرفی شرکت ها


bgameb-0.0.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Board Game Builder
ویژگی مقدار
سیستم عامل OS Independent
نام فایل bgameb-0.0.9
نام bgameb
نسخه کتابخانه 0.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Konstantin Klepikov
ایمیل نویسنده oformleno@gmail.com
آدرس صفحه اصلی https://github.com/KonstantinKlepikov/BoardGameBuilder
آدرس اینترنتی https://pypi.org/project/bgameb/
مجوز MIT
# BoardGameBuilder Object-oriented framework for build board game logic in python `pip install bgameb` ## Short example ```python from bgameb import Game # create the game game = Game('one_board_game') # add dice and coin types to game game.new('six', type_='dice', sides=6) game.new('twenty', type_='dice', sides=20) game.new('coin', type_='dice') # 2 is default number of sides # or define sides for dice and coin types game.coin.sides = 3 # add shaker and add count of stuff to shaker game.new('red_shaker', type_='shaker') game.copy('six', 'red_shaker', count=50) game.copy('twenty', 'red_shaker', count=10) game.copy('coin', 'red_shaker', count=42) # roll all stuff and get result result = game.red_shaker.roll() # or define new shaker and add stuff directly game.new('blue_shaker', type_='shaker') game.new('eight', type_='dice', target='blue_shaker', sides=8, count=10) result = game.blue_shaker.eight.roll() # you can use dict notation offcourse result = game['blue_shaker']['coin'].roll() # delete components from any collections del game.blue_shaker del game.six # define a cards and decks game.new('one_card', type_='card') game.new('cards_deck', type_='deck') game.copy('one_card', 'cards_deck', count=100) # deal card from deck game.cards_deck.deal() # current deck is a python deque deck = game.cards_deck.current # lets create game turn structure game.new('phase_one', 'game_steps', priority=0) game.copy('phase_two', 'game_steps', priority=1) game.game_steps.deal() # game_steps is a priority queue, that linked to priority attribute current_game_steps = game.game_steps.current current_step = current_game_steps.get() ``` ## Documentation - [docs](https://konstantinklepikov.github.io/BoardGameBuilder/) - [pypi](https://pypi.org/project/bgameb/) ## Development [how install project for development](https://konstantinklepikov.github.io/BoardGameBuilder/usage.html). ### Available cli `make proj-doc` `make test` `make test-pypi` to test deploy to testpypi `make log` - insert fragmet name to store new about project `make ipython` run interactive terminal `make check` check flake8 and mypy Available fragmet naming: - .feature: Signifying a new feature. - .bugfix: Signifying a bug fix. - .doc: Signifying a documentation improvement. - .removal: Signifying a deprecation or removal of public API. - .misc: A ticket has been closed, but it is not of interest to users. - .cicd: Integration tasks `make release` - to bump version and build changelog. You can use `towncrier build --draft` to check changelog output \* for version management are used [incremental](https://github.com/twisted/incremental) and [towncrier](https://pypi.org/project/towncrier/) for changelog


نیازمندی

مقدار نام
==21.3.0 incremental
==0.5.7 dataclasses-json
==0.6.0 loguru
==0.7.12 alabaster
==2.0.8 asttokens
==22.1.0 attrs
==20.2.0 Automat
==2.10.3 Babel
==0.2.0 backcall
==4.11.1 beautifulsoup4
==5.0.1 bleach
==0.8.0 build
==2022.6.15 certifi
==1.15.1 cffi
==2.1.1 charset-normalizer
==8.1.3 click
==1.2.2 click-default-group
==0.9.1 commonmark
==15.1.0 constantly
==37.0.4 cryptography
==0.5.7 dataclasses-json
==5.1.1 decorator
==0.17.1 docutils
==1.0.0 executing
==21.0.0 hyperlink
==3.3 idna
==1.4.1 imagesize
==4.12.0 importlib-metadata
==21.3.0 incremental
==1.1.1 iniconfig
==8.4.0 ipython
==0.18.1 jedi
==0.8.0 jeepney
==3.1.2 Jinja2
==23.8.2 keyring
==0.6.0 loguru
==2.1.0 markdown-it-py
==2.1.1 MarkupSafe
==3.17.1 marshmallow
==1.5.1 marshmallow-enum
==0.1.6 matplotlib-inline
==0.3.0 mdit-py-plugins
==0.1.2 mdurl
==0.4.3 mypy-extensions
==0.18.0 myst-parser
==21.3 packaging
==0.8.3 parso
==0.13.0 pep517
==4.8.0 pexpect
==0.7.5 pickleshare
==1.8.3 pkginfo
==1.0.0 pluggy
==3.0.30 prompt-toolkit
==0.7.0 ptyprocess
==0.2.2 pure-eval
==1.11.0 py
==2.21 pycparser
==2.13.0 Pygments
==3.0.9 pyparsing
==7.1.2 pytest
==0.20.0 python-dotenv
==2022.2.1 pytz
==6.0 PyYAML
==37.0 readme-renderer
==2.28.1 requests
==0.9.1 requests-toolbelt
==2.0.0 rfc3986
==12.5.1 rich
==3.3.3 SecretStorage
==1.16.0 six
==2.2.0 snowballstemmer
==2.3.2.post1 soupsieve
==5.1.1 Sphinx
==0.0.1a12 sphinx-basic-ng
==1.0.0 sphinx-rtd-theme
==1.0.2 sphinxcontrib-applehelp
==1.0.2 sphinxcontrib-devhelp
==2.0.0 sphinxcontrib-htmlhelp
==1.0.1 sphinxcontrib-jsmath
==1.0.3 sphinxcontrib-qthelp
==1.1.5 sphinxcontrib-serializinghtml
==0.5.0 stack-data
==2.0.1 tomli
==21.9.0 towncrier
==5.3.0 traitlets
==4.0.1 twine
==22.4.0 Twisted
==0.8.0 typing-inspect
==4.3.0 typing-extensions
==1.26.12 urllib3
==0.2.5 wcwidth
==0.5.1 webencodings
==3.8.1 zipp
==5.4.0 zope.interface


زبان مورد نیاز

مقدار نام
>=3.8.10 Python


نحوه نصب


نصب پکیج whl bgameb-0.0.9:

    pip install bgameb-0.0.9.whl


نصب پکیج tar.gz bgameb-0.0.9:

    pip install bgameb-0.0.9.tar.gz