Markdown
rpg_battle_11213161
一個使用 Python 物件導向(OOP)設計的回合制 RPG 角色與戰鬥模擬引擎,支援武器裝備、職業繼承與多型技能系統。
安裝方式
pip install rpg_battle_11213161
## 快速開始
from rpg_battle_11213161 import Weapon, Warrior, Mage, BattleArena
# 建立武器與角色
sword = Weapon(name="屠龍大劍", bonus_atk=12, crit_rate=0.2)
staff = Weapon(name="星辰法杖", bonus_atk=15, crit_rate=0.15)
p1 = Warrior(name="亞瑟", weapon=sword)
p2 = Mage(name="梅林", weapon=staff)
# 開始自動回合制對戰
arena = BattleArena(p1, p2)
winner = arena.start_battle()
# 印出完整戰鬥過程
print("\n".join(arena.logs))
Metadata
Release files for rpg-battle-11213161 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rpg_battle_11213161-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for rpg_battle_11213161-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rpg_battle_11213161-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rpg_battle_11213161-0.1.0-py3-none-any.whl |
Total release size: 8.0 kB
Release files / rpg_battle_11213161-0.1.0.tar.gz
| Download URL | rpg_battle_11213161-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32f65b44ea8155ff8ede7a262084390ddf30da4d582582e9ba6be70263d4ea50
|
|
BLAKE2b-256 checksum How to use checksums |
a9b7e79a5d783b3b9d7f05c1736d65809e6b935f95b93f9891fb81ddeee15370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Release files / rpg_battle_11213161-0.1.0-py3-none-any.whl
| Download URL | rpg_battle_11213161-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea135cee968d44c0c743cb5060805f015b8f0a59073f48793cfd0729ccd73c4f
|
|
BLAKE2b-256 checksum How to use checksums |
76e3c5d8e56a9b9d4d2dfcc2321fc885a6571fe6cbefb58c142b9e49894fbf3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Security for rpg-battle-11213161 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.