The device in his brain recorded information about the neurons firing while he played the game, learning to predict the movements he would make then rewarding him with a banana