In order to make it possible, he used his computer and LED lights to design the program, and then connected his computer to the bookshelf, so that each section of the bookshelf could be programmed to play Tetris. Check out video below to believe it.