1.

Record Nr.

UNINA9910483057003321

Autore

Waters Ian <1982->

Titolo

Powershell for beginners : learn powershell 7 through hands-on mini games / / Ian Waters

Pubbl/distr/stampa

[Place of publication not identified] : , : APress, , [2021]

©2021

ISBN

1-4842-7064-9

Edizione

[1st ed. 2021.]

Descrizione fisica

1 online resource (XVI, 232 p. 115 illus.)

Disciplina

005.446

Soggetti

Windows PowerShell (Computer program language)

Computer games - Programming

Systems programming (Computer science)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Chapter 1: Introduction -- Chapter 2: Beginners Guide to PowerShell and Visual Studio Code -- Chapter 3: Variables -- Chapter 4: Conditional Statements -- Chapter 5: Loops -- Chapter 6: Arrays -- Chapter 7: Functions -- Chapter 8: Classes -- Chapter 9: Customising The Console. -- Chapter 10: User Input -- Chapter 11: Dragon Slayer -- Chapter 12: Getting Colourful -- Chapter 13: ASCII Table -- Chapter 14: Cursor Control -- Chapter 15: Background Processing -- Chapter 16: Networking -- Chapter 17: Working with Files -- Chapter 18: Sound -- Chapter 19: Game Engine -- Chapter 20: Creating ASCII Art -- Chapter 21: Power Bomber.

Sommario/riassunto

Learn the basic tools and commands to write scripts in PowerShell 7. This hands-on guide is designed to get you up and running on PowerShell quickly - introducing interactive menus, reading and writing files, and creating code that talks over the network to other scripts, with mini games to facilitate learning. PowerShell for Beginners starts with an introduction to PowerShell and its components. It further discusses the various tools and commands required for writing scripts in PowerShell 7, with learning reinforced by writing mini games. You will learn how to use variables and conditional statements for writing scripts followed by loops and arrays. You will then work with functions



and classes in PowerShell. Moving forward, you will go through the PowerShell Console, customizing the title and text colors. Along the way you will see how to read a key press and make sound in PowerShell. The final sections cover game engine layout, how to build a title screen, and implementing the game design using code flow, title screens, levels, and much more. After reading the book you will be able to begin working with PowerShell 7 scripts and understand how to use its tools and commands effectively. You will: Use Microsoft Visual Studio Code to develop scripts Understand variables, loops and conditional statements in PowerShell Work with scripts to develop a game Discover and use ASCII art generators Comprehend game objects and code Create client-server scripts that communicate over a network Read and write to files Capture input from the keyboard Make PowerShell speak words to help the visually impaired Create text-based adventure games.