![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
游戏
qream
这个作者很懒,什么都没留下…
展开
-
Python简单游戏练习——扫雷
2020.7.23参考:用Python和Pygame写游戏-从入门到精通(1)Python 游戏:扫雷用pygame.image.load加载时像素化和不完整的图像Pygame详解(四):event 模块参考游戏下载:Windows 7 Games for Windows 10 and 8图片素材来源:图片素材1 图片素材2 图片素材3剩下7.8我用ps按样式画了差不多的。虽然所有图标组合起来后我被自己的界面丑到了- -…但是无所谓了主要想练习怎么实现其它推荐:扫雷网运行环境原创 2020-07-23 13:52:11 · 870 阅读 · 0 评论 -
Python简单游戏练习——贪吃蛇BFS
参考Python简单游戏练习——贪吃蛇运行环境Win10子系统Ubuntu 18.04 LTS,miniconda+python 3.8.3代码# -*- coding: utf-8 -*-#!/usr/bin/env python3import randomimport cursesfrom curses import textpadimport timeclass GameSnake(object): def __init__(self): ..原创 2020-07-23 13:52:02 · 408 阅读 · 0 评论 -
Python简单游戏练习——贪吃蛇
2020.7.7参考python练习实例——用curses在终端实现贪吃蛇小游戏curses — 终端字符单元显示的处理用 Python 进行 Curses 编程运行环境Win10子系统Ubuntu 18.04 LTS,miniconda+python 3.8.3代码# -*- coding: utf-8 -*-#!/usr/bin/env python3import randomimport cursesfrom curses import textpadimport ti原创 2020-07-23 13:51:48 · 599 阅读 · 0 评论 -
Python简单游戏练习——2048
2020.06.28参考:有哪些适合新手练手的Python项目?Python实例浅谈之八2048游戏(字符界面)运行环境:代码# -*- coding: utf-8 -*-# 参考:https://blog.csdn.net/taiyang1987912/article/details/45392791import randomclass Game2048(object): def __init__(self): print("Welcome to t原创 2020-07-23 13:51:32 · 292 阅读 · 0 评论