资源说明:Tetris implemented in MIPS assembly
Dependencies: ============= * Pygame * spim You need to run this under Unix, Windows does not have a command line version of spim which our program depends on. How it works: ============= Spim doesn't have graphics support, random number support, or direct keyboard input support, so we're using Python as a wrapper. Python starts up spim as a subprocess and then manages its STDIN and STDOUT for communcation How to run it: ============= $ python boardinterpreter.py Bugs: ===== We currently have one known bug that involves rotating the T-piece near the top of the board. In some instances the piece will freeze and MIPS will request a new piece from Python. We have been unable to find the bug or replicate it consistantly. The bug does not happen in every instance making it difficult to track down. We would love any suggestions on how to squash this bug. Also, some of the pieces may no behave exactly as they should when it comes to picking a rotation pivot.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。