Even details of the legal screen and demo mode are explained. After the tour through how Tetris works, an algorithm for the AI is presented. This AI is implemented in Lua inside of the FCEUX NES ...