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

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for typergame-0.2.7.tar.gz
Algorithm Hash digest
SHA256 0406586701f329a06badb1c643332197a53c9c20fca18694bc91eb5e78584ef2
MD5 dd410820b113790ce0629e4afbee0a48
BLAKE2b-256 caf0d790a2cfcdd827756103fdea119f4bc66d7f4cdfa368163243722fb4fb9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: typergame-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 84ca011ebf8031129c6abed48f280d629a9f4468c9ce431dc9597df88cdbc927
MD5 bc17ed653d25c7493cf48d4d7a8a27ef
BLAKE2b-256 a745f744bcc3558da0cc4801ee7da814ca2dfc37a5cfbd29ee93a5175f854961

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