自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(6)
  • 收藏
  • 关注

原创 【莱斯大学 Python交互编程入门】 作业Week5 Memory

这一题还是花了一些时间的,参考了Crystalleaf1989的博客,实现的方法略有不同。先生成底层的数字,再生成上层的方块,鼠标点击后将方块移除,判断两次点击的数字相同,保持方块不显示的状态。#!/usr/bin/env python # encoding: utf-8""" @author: steve @license: Apache Licence @software: PyCharm C

2017-11-04 19:14:26 530

原创 作业week4 Pong!

#!/usr/bin/env python # -*- coding: utf-8 -*- """ __title__ = 'Pong' __author__ = 'Steve' __mtime__ = '2017/9/27' """# Impelementation of classic arcade game Pongimport SimpleGUICS2Pygame.simpleguics2p

2017-09-28 21:42:30 214

原创 作业Week3 "Stopwatch: The Game"

#!/usr/bin/env python # -*- coding: utf-8 -*- """ __title__ = 'Stopwatch' __author__ = 'Steve' __mtime__ = '2017/9/25' """# template for "Stopwatch: The Game" import SimpleGUICS2Pygame.simpleguics2pyga

2017-09-25 23:50:42 216

原创 练习week2 'caculator'

#!/usr/bin/env python # -*- coding: utf-8 -*- """ __title__ = 'caculator' __author__ = 'Steve' __mtime__ = '2017/9/24' """ import SimpleGUICS2Pygame.simpleguics2pygame as simpleguistore = 0 operand = 0

2017-09-24 15:11:28 227

原创 作业week2 'Guess the number'

#!/usr/bin/env python # -*- coding: utf-8 -*- """ __title__ = 'Guess the number' __author__ = 'Steve' __mtime__ = '2017/9/24' """ # Import the module import SimpleGUICS2Pygame.simpleguics2pygame as sim

2017-09-24 15:09:56 278

原创 作业week1 'Rock-paper-scissors-lizard-Spock'

#!/usr/bin/env python # -*- coding: utf-8 -*- """ __title__ = 'Rock-paper-scissors-lizard-Spock' __author__ = 'Steve' __mtime__ = '2017/9/23' """# The key idea of this program is to equate the strings

2017-09-24 15:08:22 381

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除