It's basically "paste this stuff and now arrow keys work" First pass at this is adding some explanation as to what's going on in the background. A second pass would be owning those event handlers in the snake game code