Skip to main content

A library to easily set up typergames.

Project description

Typergame.py

By @drooler (https://bit.ly/drooler)

Current version: V0.3.1

Update logs

  • V0.1.0 - First build

  • V0.1.1 to V0.1.2 - Bug fixes

  • V0.2.1 - Added costum user stats

  • V0.2.2 to V0.2.6 - Bug fixes

  • V0.2.7 - Added syntax documentation

  • V0.3.0 - Added inventory system

  • V0.3.1 - Bug fixes

How to set up

1- Install with pip

Run pip install typergame

2- Create a .py and paste in the template code

Template code:

import typergame

game = typergame.Typergame("Project name", ["exit"])

running = True

while running:

    command = game.user.run()

    if command == "exit":

        running = False
        game.functions.write("Press enter to exit")

    input()
    game.functions.clear()

3- Build your game: add commands, add user stats,...

Links

Project details


Download files

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

Source Distribution

typergame-0.3.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typergame-0.3.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file typergame-0.3.1.tar.gz.

File metadata

  • Download URL: typergame-0.3.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for typergame-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f02efe8c0ec009554edd87240dab18e381010730a2aa1f2d85e6909f92913a5a
MD5 55f1a07a96f599941b5466d50b4c2a76
BLAKE2b-256 a208d4884d7aa1b510a5e3d0db63341660bdb81f81fd286acfdddf718da53969

See more details on using hashes here.

File details

Details for the file typergame-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: typergame-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for typergame-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1808354a85f2a6443d123f24862cb497bc0eb2ba36034ae2b36fd60c315b488
MD5 5ae34dbc2a99f717082191755e4e70c1
BLAKE2b-256 5f13349402607faab6a0ea28d333c8c037e1a7d324f66bd0e3a38d8cd4c291f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page