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.1.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.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ddtank-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0a3908620af6c28327be699cce82412fe5a227d7cb68500b4c2ddb0c9a5ed203
MD5 a84ddc5adb2c49a6f751de8bdaf4af46
BLAKE2b-256 1457eae3353cba025b68109dbc512f531aae1c2d361ac97eeee3edfd25785db3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ddtank-0.1.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79d16e724ba13b0b27413ac231164750b78a91d1b2c204a2ca9899e6ce74ed78
MD5 4a385d100f9a23b498aa5e3b01910b86
BLAKE2b-256 294b15f5d5a7a315090a3dfb4fbfd8b355ba9f4cebfde0ccd9f545cc16e9708a

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