mirror of
https://github.com/maicss/PyQt5-Chinese-tutorial.git
synced 2025-01-08 17:06:18 +08:00
Update 俄罗斯方块游戏.md
This commit is contained in:
parent
0e48b0111e
commit
e2282844bb
@ -8,8 +8,10 @@
|
||||
|
||||
俄罗斯方块归类为下落块迷宫游戏。游戏有7个基本形状:S、Z、T、L、反向L、直线、方块,每个形状都由4个方块组成,方块最终都会落到屏幕底部。所以玩家通过控制形状的左右位置和旋转,让每个形状都以合适的位置落下,如果有一行全部被方块填充,这行就会消失,并且得分。游戏结束的条件是有形状接触到了屏幕顶部。
|
||||
|
||||
Tetrominoes
|
||||
Figure: Tetrominoes
|
||||
方块展示:
|
||||
|
||||
![tetrominoes](./images/11-tetrominoes.png)
|
||||
|
||||
PyQt5 is a toolkit designed to create applications. There are other libraries which are targeted at creating computer games. Nevertheless, PyQt5 and other application toolkits can be used to create simple games.
|
||||
|
||||
Creating a computer game is a good way for enhancing programming skills.
|
||||
|
Loading…
x
Reference in New Issue
Block a user