A Deep Dive Into NES Tetris

2014年1月29日 | By News | Filed in: News.

http://ift.tt/1bvGlv9

Tetris AI

Back in 1989, Nintendo released Tetris for the NES. This detailed article first explains the mechanics of how Tetris works, then builds an AI to play the game.

To understand the mechanics of the game, the ROM source was explored. Since the NES was based of the MOS 6502 microprocessor, this involves looking at the 6502 assembly. The article details how the blocks (called Tetriminos) are created and how they move across the screen. The linear feedback shift register used for random number generation is examined. Even details of the legal screen and demo mode are explained.

After the … Read the rest


Tags: ,

发表评论

电子邮件地址不会被公开。 必填项已用*标注