登录
首页 » 其他项目 » 基于python实现的青蛙过河游戏

基于python实现的青蛙过河游戏

于 2022-06-30 发布 文件大小:32.55 kB
0 199
下载积分: 2 下载次数: 1

代码说明:

使用python实现青蛙过河,在程序中调用button与graphics模块,将每个青蛙包装为一个模块,点击后可以判断跳动方向并向左或右移动、以及根据边上青蛙的个数自行判断决定是否越过一只青蛙,当最终所有青蛙成功调换位置后,显示“success”,另外,利用stack实现可后悔之前步骤。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这个是IDES ECC6.0安装手册,跟4.7版本安装有点不一样。
    这个是IDES ECC6.0安装手册,跟4.7版本安装有点不一样。-This is the installation of IDES ECC6.0 manual, with the 4.7 version of the installation a bit different.
    2023-06-08 12:45:03下载
    积分:1
  • DOS环境中的微机原理课程设计,汇编编写,电子时钟
    DOS环境中的微机原理课程设计,汇编编写,电子时钟-DOS environment Microcomputer Principle curriculum design, the compilation of the preparation, electronic clock
    2023-02-22 09:40:04下载
    积分:1
  • 用csharp解决arcgis中的问题,请认真阅读
    用csharp解决arcgis中的问题,请认真阅读-with csharp arcgis solve the problem, please read carefully
    2022-12-28 07:15:04下载
    积分:1
  • 除以32位整数16bit整数数签署。输入数据…
    32bit有符号整数除以16bit整数。 输入数据为被除数Num和除数Den, 输出数据为商Quot和余数Rem。-Divided by the number of signed 32bit integer 16bit integer. Input data for the dividend divisor Num and Den, output data for more than a few business Quot and Rem.
    2022-03-25 07:43:00下载
    积分:1
  • 基本操作的基本操作是四大操作,符号…
    浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较,以及浮点数分柝等。 包含头文件 "fn.hpp" #include "fn.hpp" 浮点数基本运算 浮点数的基本运算中有加、减、乘、除、取负、绝对值、相等比较等。 加减乘除 加、减、乘、除四个运算极为相似,都是需要两个参数,结果当然也是浮点数了。 例子: // 加 减 乘 除 btil::fn::plus::value // f1+f2 的结果 btil::fn::minus::value // f1-f2 的结果 btil::fn::multiplies::value // f1*f2 的结果 btil::fn::divides::value // f1/f2 的结果 plus::value::f_val // f1+f2 的结果的值 struct one { static const double f_val = 1.0 } // 两个浮点数 struct two { static const double f_val = 2.0 } minus::value::f_val == 0.5 取负 取负运算就是取一个浮点数的负数。-float basic operations of the basic operations are four major operations, symbols, sizes, and float-watchman"s rattle so. The first document contains "fn.hpp"# include "fn.hpp" float float basic operations of the basic operations are, plus or minus, riding, except from negative, in absolute terms, a comparison of the same. The a
    2022-05-22 17:45:03下载
    积分:1
  • 某物
    没有什么功能,真的没有,你要不信就打开看看。。。说你不听,说了也白说-something
    2023-01-06 09:55:04下载
    积分:1
  • 数字电路故障分析之D算法C++实现。按照教科书编写,可能比较古板。...
    数字电路故障分析之D算法C++实现。按照教科书编写,可能比较古板。-digital circuit failure analysis algorithm C D realization. According to textbook writing, perhaps more rigid.
    2022-07-27 11:48:22下载
    积分:1
  • 检查 C 源码中括号的匹配性
    检查 C 源码中括号的匹配性-check C source code compatibility brackets
    2022-07-06 16:39:50下载
    积分:1
  • 这是为一个扫描枪写的在生产线上比较2个不同的2个串口条玛的程序...
    这是为一个扫描枪写的在生产线上比较2个不同的2个串口条玛的程序-This is written by a scanning gun compare the production line in two different two serial procedures Machia Article
    2023-03-13 01:05:04下载
    积分:1
  • 用C++编写的一个回合制战斗类的小游戏,只要体现了类的封装、继承、多态的特性...
    用C++编写的一个回合制战斗类的小游戏,只要体现了类的封装、继承、多态的特性-Using C++ to prepare a kind of turn-based fighting game, as long as the manifestation of the kind of package, inheritance, polymorphism characteristics
    2022-05-25 06:07:32下载
    积分:1
  • 696518资源总数
  • 106245会员总数
  • 18今日下载