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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page