Skip to main content

A package used for writing ddtank game scripts.

Project description

DDTank

A package used for writing ddtank game scripts.

Contact the author: jugking6688@gmail.com

Video tutorial in bilibili: https://space.bilibili.com/3493127383943735

Examples are as follows:

from ddtank import Status, get_game

class ScriptStatus(Status):
    def task(self):
        while True:
            self.press('B')

if __name__ == '__main__':
    handle_list = get_game()
    handle = handle_list[0]
    my_status = ScriptStatus(handle)
    my_status.start()
    my_status.stop()

Note: ver 0.1 is incompatible with previous version! But the general idea is the same.

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

ddtank-0.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

ddtank-0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file ddtank-0.1.tar.gz.

File metadata

  • Download URL: ddtank-0.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for ddtank-0.1.tar.gz
Algorithm Hash digest
SHA256 60dbabf2f3980ebca9a9d88ae6d6a47f0dc7f971a3957191ca1f83bf957e27d9
MD5 84fa3146f9999c5ab9ae8bf100bdbed3
BLAKE2b-256 58b596ef9d0d309f0dc274598313fcbc0d1757cbc942fa6d2012e7d561b21c2c

See more details on using hashes here.

File details

Details for the file ddtank-0.1-py3-none-any.whl.

File metadata

  • Download URL: ddtank-0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for ddtank-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b8df9419d72b4098287a774a6e88178a1d1198bc46665d7d617851cce8c18ef
MD5 76b4cad71da336e50643830400f3ac28
BLAKE2b-256 c3898ff5faf428efa7429de4332f70994e904d0d3b94a40237ee2c31086bbe81

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