Skip to main content

使用turtle模块制作的一款游戏。A game that made by using the turtle module.作者:七分诚意

Project description

Build passing 100% test coverage

catch-turtle是使用turtle模块制作的一款游戏。

游戏玩法:运行catch_turtle.py, 或在命令行输入python -m catch_turtle,

将弹出一个窗口; 点击”开始游戏”按钮,开始游戏。

按↑,↓,←,→键移动玩家,使其触碰被追逐者。触碰即追逐成功,

一次得10分; 碰到红色的”敌人”,则Game over。

触碰后,被追逐者将会回到原位。每得到30分升一级,并增加一个分身。

游戏结束后上一次的等级、最高分将会被保存,但分数不会保存,退出游戏后后分数清零。

游戏截图:

游戏开始界面 游戏开始界面

1.1.2版改进:修复了一些bug和错误, 游戏更加稳定

源码: 见 https://github.com/qfcy/Python/tree/main/catch_turtle

作者:七分诚意 百度账号:徐丹34

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

catch_turtle--1.1.2.tar.gz (830.7 kB view details)

Uploaded Source

File details

Details for the file catch_turtle--1.1.2.tar.gz.

File metadata

  • Download URL: catch_turtle--1.1.2.tar.gz
  • Upload date:
  • Size: 830.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.2rc1

File hashes

Hashes for catch_turtle--1.1.2.tar.gz
Algorithm Hash digest
SHA256 b2b4fa00e47cd382e724d91339770b5015711f6d3d6473e5d83863fb0acda3f7
MD5 85b3f9fede00d15d086183b738327dd5
BLAKE2b-256 b66f2978372696b94325f2326f93901ec3dedba4d3d15136c36a837fa4dda02e

See more details on using hashes here.

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