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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ddtank-0.1.2.tar.gz
  • Upload date:
  • Size: 8.2 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.2.tar.gz
Algorithm Hash digest
SHA256 3a3a6323cdb1c91f9ed326b4d0e1e9bd6c379c8ea090ea2be02d13f103121443
MD5 aebcb4e9d8a71cc42604e6b109e13d2b
BLAKE2b-256 36602b91a81dd1d913ec3002497b0d807548c0fc38206a895281127280fa80a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ddtank-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c92962d344d29e45831721a38c6417c8746edaa0f3080b84ae97b65620fe0767
MD5 5d58199ce0ad06eb831042e0e681d66d
BLAKE2b-256 3651cbb1158a104c89c64e042cdefb085b0f4fe6a426f6324ecd3a052c334dc6

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