一个小游戏,俄罗斯方块,我放在这里只是帮自己存储,如果有需要你可以下载。这是我完整的工程文件。
2022-05-04 09:43:28 111.29MB tetris game
1
俄罗斯方块游戏 它是Tetris Game的python实现工具,是一个简单的AI可以自动玩游戏。 需要安装python3,PyQt5和NumPy。 tetris_game.py是主要应用程序。 tetris_model.py是此游戏的数据模型。 tetris_ai.py是AI部分。 从命令行运行tetris_game.py ,然后开始播放或观看AI的播放。 $ python3 tetris_game.py 手动播放 如果您想自己玩游戏,则应在tetris_game.py取消注释此行: # TETRIS_AI = None 或者只是注释以下行: from tetris_ai import TETRIS_AI 当前的配置对于人类玩家而言可能太快了。 因此,您可能需要通过更改此处定义的Tetris.speed值来使其变慢: class Tetris ( QMainWind
2021-12-18 19:27:54 39KB game ai python3 tetris-game
1
Tetris - An old-fashioned html5 game, build with html5 canvas, jQuery and Bootstrap (includes vs mode). 使用HTML5 Canvas, jQuery以及Bootstrap编写,简单而又老土的俄罗斯方块游戏(支持双人). Click this to play the game. 点击这个去体验 Build - use (grunt, bower) *Note: If you use linux/mac, please make sure git is installed. If you use windows, please make sure git for windows is installed, so you can run build commands in git bash
2021-07-10 12:03:30 211KB javascript canvas tetris JavaScript
1
Tetris-MIPS:这是使用MARS,MIPS Simulator,汇编语言创建的俄罗斯方块游戏
1