Skip to main content

A library to easily set up typergames.

Project description

Typergame.py

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

Current version: V0.2.5

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.5 - 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.2.5.tar.gz (2.4 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.2.5-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for typergame-0.2.5.tar.gz
Algorithm Hash digest
SHA256 fbf33d391250a255db0e22c8de4481edc9348ba4ec5c466309d6f53f260124cb
MD5 a48ac79df621b2ae50a3a06e7ad876c8
BLAKE2b-256 f9e574aa1fd09980507967390f4c97eba17d5c918c6756cf633cfeb7c33bd4f8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for typergame-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 baf891c6c3ef359a4290b2e0fab51c6da8e218bb340a5b5ad183c7ec3f492c78
MD5 ed297fd9c8a7e599a287fccd673b3778
BLAKE2b-256 defd9f07deddd2892de389f60c99ac1e78ba54fb66c5ae2ff7d8037841381ba8

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