Skip to main content

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


Release history Release notifications

This version
History Node

1.0.10

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyadventure-1.0.10-cp34-none-win_amd64.whl (3.2 kB) Copy SHA256 hash SHA256 Wheel cp34 May 20, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page