登录
首页 » 其他项目 » 用python写贪吃蛇

用python写贪吃蛇

于 2022-08-07 发布 文件大小:4.15 kB
0 227
下载积分: 2 下载次数: 1

代码说明:

这两天在网上看到一张让人涨姿势的图片,图片中展示的是贪吃蛇游戏, 估计大部分人都玩过。但如果仅仅是贪吃蛇游戏,那么它就没有什么让人涨姿势的地方了。 问题的关键在于,图片中的贪吃蛇真的很贪吃XD,它把矩形中出现的食物吃了个遍, 然后华丽丽地把整个矩形填满,真心是看得赏心悦目。作为一个CSer, 第一个想到的是,这东西是写程序实现的(因为,一般人干不出这事。 果断是要让程序来干的)第二个想到的是,写程序该如何实现,该用什么算法? 既然开始想了,就开始做。因为Talk is cheap,要show me the code才行。 

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

发表评论

0 个回复

  • 8051 scheduling system (using STC 12C5A60S2)
    8051调度系统(使用STC12C5A60S2)
    2022-07-10 09:44:11下载
    积分:1
  • nsga-ⅱ 的二进制
    支配排序遗传算法II(NSGA-II)为二进制方法
    2022-06-26 18:06:01下载
    积分:1
  • 自营店增加查看缴款记录功能,可以查看门店缴款。 记录数据,门店只能查看自己的缴款记录。 使用同价调拨和变价调拨可以产生相应的GSP报表,...
    自营店增加查看缴款记录功能,可以查看门店缴款。 记录数据,门店只能查看自己的缴款记录。 使用同价调拨和变价调拨可以产生相应的GSP报表,即做完同价调拨和变价调拨,可以到对应报表中调用同价调拨单和同价调拨单生成GSP报表。 增加“盘点数量为零商品显示”功能,并增加对盘点时有改动商品的颜色标注,便于对有盘点改动商品的进行跟踪,并且可以在盘点过程中添加电脑中没有的库存商品(自动盘营盘亏中)。 库存盘点时增加“产地”、“备注”和“生产厂家”字段(自动盘盈盘亏)。-payment record increase View function can check stores contributions. Records data, stores can only check their payment record. Using the same price allocation and price changes can have a corresponding allocation of the GSP statements, the same price that is done allocation and price variable allocation, statements corresponding to the call to allocate the same price and with the price of single-generation GPS allocation statements. Increase the "zero inventory quantity of goods shows that the" function, and increase the inventory of goods has changed the color tagging, facilitate inventory changes to a commodity tracking, and inventory in the process of adding a computer without the stock (automatic disk business inventory
    2022-09-26 12:40:03下载
    积分:1
  • Delphi 2005 ADO 连接演示
    Delphi 2005 ADO 连接演示-connecting demo
    2022-05-23 09:03:53下载
    积分:1
  • Suitable for engineers and students to enhance their own circuit design on the l...
    适合工程师和学生提升自身对电路设计的认识和水平所进行学习。-Suitable for engineers and students to enhance their own circuit design on the level of awareness and learning.
    2022-04-25 04:12:20下载
    积分:1
  • 该程序用以在ccs环境下完成对flash的烧写程序
    该程序用以在ccs环境下完成对flash的烧写程序-procedures for the environment in ccs completion of the burning process flash
    2022-10-14 23:25:03下载
    积分:1
  • Can be man
    可以人机对弈、双人同机对弈,人机对弈电脑具有较好的人工智能算法,界面美观。开发工具:VC++6.0 和 MFC-Can be man-machine game, double game on the same plane, man-machine chess computer has a good artificial intelligence algorithms, attractive interface. Development Tools: VC++ 6.0 and MFC
    2022-10-29 03:15:03下载
    积分:1
  • 新三国多开代码 易语言的 提供给大家参考学习
    新三国多开代码 易语言的 提供给大家参考学习-blive me
    2022-01-25 21:41:54下载
    积分:1
  • 质心的凸包
    1.本程序获取一些点坐标作为输入。 输入的文件的格式: 第 1 行: 点数目 其他线路: x y 2.然后它计算凸格雷厄姆扫描算法。 3。 最后它计算的质心凸包使用下面的公式:
    2022-05-24 23:53:02下载
    积分:1
  • 限定鼠标区域的VC的例子
    限定鼠标区域的VC的例子-limited region of the mouse example VC
    2022-02-10 03:48:51下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载