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.0

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

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.0.tar.gz (2.9 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.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: typergame-0.3.0.tar.gz
  • Upload date:
  • Size: 2.9 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.0.tar.gz
Algorithm Hash digest
SHA256 c31ba779fdb424cfd89e4ac68a417b049396fadfb290463b40f9e7471de8fddf
MD5 46f2a156f2f73cff1388f0d498aab623
BLAKE2b-256 4bd86d673a81dfe0d2a0ad1b644a8ad4e3cc9ee0f98867b912195ee34c2d4b00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: typergame-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3472e96daa0e0bcb9aec8b679b3c3605b270774adc43c6e2b9ce50fb056197fa
MD5 3f4bc59463701401a3473d505087b10c
BLAKE2b-256 010e581a8f863c03d067fd1f49b1f31d32e07d611aa8737a1e76b2971e37654b

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