© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
I. WatersPowerShell for Beginnershttps://doi.org/10.1007/978-1-4842-7064-6_11

11. Dragon Slayer

Ian Waters1  
(1)
Bexhill, UK
 

This is where I start to geek out and get all nostalgic for really old-school 1980s computers and games. This is a version of a script I wrote a few years ago when I started playing with PowerShell. It really got me into it and was one of the reasons I wanted to write this book. If it got me more pumped about learning and writing PowerShell, hopefully it will do the same for you.

This chapter is going to combine a little of everything we have learned so far into a playable old-school-style text adventure game I call Dragon Slayer!

Code ...

Get PowerShell for Beginners: Learn PowerShell 7 Through Hands-On Mini Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.