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

Uploaded Source

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