A text-based RPG engine for Python.
Project description
Create a text-based RPG with Python!
New features coming every day!
CURRENT FEATURES:
player
enemies
map
movement
COMING SOON:
combat
inventory
SAMPLE TO GET STARTED:
from pyadventure import pa
class myGame(pa.Game):
def MainLoop(self, player, world):
while True:
super().MainLoop(player, world)
def setup(self):
pa.m_print("Hello and welcome to my custom game!")
pa.m_print("What is your name?")
p = pa.Player(input())
pa.m_print("Hello, " + p.name + "! How big should the world be?")
size = int(input())
w = super().GenerateWorld(size)
self.MainLoop(p, w)
if __name__ == "__main__":
g = myGame()
g.setup()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyadventure-1.0.10-cp34-none-win_amd64.whl.
File metadata
- Download URL: pyadventure-1.0.10-cp34-none-win_amd64.whl
- Upload date:
- Size: 3.2 kB
- Tags: CPython 3.4, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c9ab932d49cce10af1cd7a8a59dbfd89b5b0485d3bd71f34ff6aa05a4e58224
|
|
| MD5 |
0bd168106b1856654a9847f96914689c
|
|
| BLAKE2b-256 |
418d58e64c971b5aed6a839c54eeb1399dec7f6036f9c6ca7ad56be2307a1acb
|