Wow, Chapter 3, Setting Up the Wiki Game, was quite a ride! Laying the foundation of our Wikipedia game took us on a real learning tour-de-force. After the quick refresher on how the web and web pages work, we dived deeper into the key parts of the language, studying the dictionary data structure and its corresponding data type, conditional expressions, functions, exception handling, and even the very handy piping operator (|>). In the process, we built a short script that uses a couple of powerful third-party packages, HTTP and Gumbo, to request a web page from Wikipedia, parse it as an HTML DOM, and extract all internal links from within the page. Our script is part of a proper Julia project, which employs Pkg to efficiently manage dependencies.
In this chapter, we'll continue the development of our game, implementing the complete...