1 Star 0 Fork 1

tpig / pygame-tetris

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

俄罗斯方块 Tetris

1. 规则

  1. 宽 10, 高 20,
  2. 一组由 4 个小正方形组成的图形(Tetromino), 共 7 种。分别是 S Z L J I O T
  3. 玩家可以 90 度旋转方块,以格子为单位左右移动方块,加速方块下落
  4. 方块移到最下方或碰到其他方块无法移动时,会固定在该处,新的方块开始下落
  5. 横向格子填满,该行消失,玩家得分,同时删除的行数越多,得分指数上升
  6. 方块堆放到最上方时,游戏结束
  7. 可提示下一方块形状

2. TODO

-[x] 2.1 左右移动时候的冲突检测 -[x] 2.2 分数面板 -[x] 2.3 暂停提示 -[x] 2.4 GAME OVER 提示 -[ ] 2.5 下一形状预告 -[ ] 2.6 RESTART

3. 扩展

  • 3.1 网络对战
  • 3.2 等级场景
MIT License Copyright (c) 2020 tpig Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

俄罗斯方块 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/tpig/pygame-tetris.git
git@gitee.com:tpig/pygame-tetris.git
tpig
pygame-tetris
pygame-tetris
master

搜索帮助