Procedural Content Generation in Games


Book Description

This book presents the most up-to-date coverage of procedural content generation (PCG) for games, specifically the procedural generation of levels, landscapes, items, rules, quests, or other types of content. Each chapter explains an algorithm type or domain, including fractal methods, grammar-based methods, search-based and evolutionary methods, constraint-based methods, and narrative, terrain, and dungeon generation. The authors are active academic researchers and game developers, and the book is appropriate for undergraduate and graduate students of courses on games and creativity; game developers who want to learn new methods for content generation; and researchers in related areas of artificial intelligence and computational intelligence.




Procedural Generation in Game Design


Book Description

Making a game can be an intensive process, and if not planned accurately can easily run over budget. The use of procedural generation in game design can help with the intricate and multifarious aspects of game development; thus facilitating cost reduction. This form of development enables games to create their play areas, objects and stories based on a set of rules, rather than relying on the developer to handcraft each element individually. Readers will learn to create randomized maps, weave accidental plotlines, and manage complex systems that are prone to unpredictable behavior. Tanya Short’s and Tarn Adams’ Procedural Generation in Game Design offers a wide collection of chapters from various experts that cover the implementation and enactment of procedural generation in games. Designers from a variety of studios provide concrete examples from their games to illustrate the many facets of this emerging sub-discipline. Key Features: Introduces the differences between static/traditional game design and procedural game design Demonstrates how to solve or avoid common problems with procedural game design in a variety of concrete ways Includes industry leaders’ experiences and lessons from award-winning games World’s finest guide for how to begin thinking about procedural design




Procedural Content Generation for Unity Game Development


Book Description

Harness the power of procedural content generation to design unique games with Unity About This Book Learn the basics of PCG development Develop a 2D game from start to finish Explore all the different ways PCG can be applied in games Who This Book Is For This book is for Unity game developers, especially those who work on indie games. You should be familiar with Unity and C# scripting but you'll be able to jump in and start learning PCG straightaway. What You Will Learn Understand the theory of Procedural Content Generation Learn the uses of Pseudo Random Numbers Create reusable algorithm designs for PCG Evaluate the data structures for PCG Develop smaller games with larger amounts of content Generate content instead of spending time designing every minute detail Learn when and how to add PCG to your game Learn the fundamental techniques of PCG In Detail Procedural Content Generation is a process by which game content is developed using computer algorithms, rather than through the manual efforts of game developers. This book teaches readers how to develop algorithms for procedural generation that they can use in their own games. These concepts are put into practice using C# and Unity is used as the game development engine. This book provides the fundamentals of learning and continued learning using PCG. You'll discover the theory of PCG and the mighty Pseudo Random Number Generator. Random numbers such as die rolls and card drafting provide the chance factor that makes games fun and supplies spontaneity. This book also takes you through the full development of a 2D game. Starting with level generation, you'll learn how PCG can make the game environment for you. You'll move into item generation and learn the different techniques to procedurally create game items. Thereafter, you'll be guided through the more abstract PCG areas such as scaling difficulty to the player and even generating music! The book helps you set up systems within your games where algorithms create computationally generated levels, art assets, quests, stories, characters, and weapons; these can substantially reduce the burden of manually creating every aspect of the game. Finally, you'll get to try out your new PCG skills on 3D terrain generation. Style and approach An easy-to-follow, project-based guide that will let you build a complete game by the end of the book using PCG.




Procedural Content Generation for C++ Game Development


Book Description

Get to know techniques and approaches to procedurally generate game content in C++ using Simple and Fast Multimedia Library About This Book This book contains a bespoke Simple and Fast Multimedia Library (SFML) game engine with complete online documentation Through this book, you'll create games that are non-predictable and dynamic and have a high replayability factor Get a breakdown of the key techniques and approaches applied to a real game. Who This Book Is For If you are a game developer who is familiar with C++ and is looking to create bigger and more dynamic games, then this book is for you. The book assumes some prior experience with C++, but any intermediate concepts are clarified in detail. No prior experience with SFML is required. What You Will Learn Discover the systems and ideology that lie at the heart of procedural systems Use Random number generation (RNG) with C++ data types to create random but controlled results Build levels procedurally with randomly located items and events Create dynamic game objects at runtime Construct games using a component-based approach Assemble non-predictable game events and scenarios Operate procedural generation to create dynamic content fast and easily Generate game environments for endless replayability In Detail Procedural generation is a growing trend in game development. It allows developers to create games that are bigger and more dynamic, giving the games a higher level of replayability. Procedural generation isn't just one technique, it's a collection of techniques and approaches that are used together to create dynamic systems and objects. C++ is the industry-standard programming language to write computer games. It's at the heart of most engines, and is incredibly powerful. SFML is an easy-to-use, cross-platform, and open-source multimedia library. Access to computer hardware is broken into succinct modules, making it a great choice if you want to develop cross-platform games with ease. Using C++ and SFML technologies, this book will guide you through the techniques and approaches used to generate content procedurally within game development. Throughout the course of this book, we'll look at examples of these technologies, starting with setting up a roguelike project using the C++ template. We'll then move on to using RNG with C++ data types and randomly scattering objects within a game map. We will create simple console examples to implement in a real game by creating unique and randomised game items, dynamic sprites, and effects, and procedurally generating game events. Then we will walk you through generating random game maps. At the end, we will have a retrospective look at the project. By the end of the book, not only will you have a solid understanding of procedural generation, but you'll also have a working roguelike game that you will have extended using the examples provided. Style and approach This is an easy-to-follow guide where each topic is explained clearly and thoroughly through the use of a bespoke example, then implemented in a real game project.




Procedural Storytelling in Game Design


Book Description

This edited collection of chapters concerns the evolving discipline of procedural storytelling in video games. Games are an interactive medium, and this interplay between author, player and machine provides new and exciting ways to create and tell stories. In each essay, practitioners of this artform demonstrate how traditional storytelling tools such as characterization, world-building, theme, momentum and atmosphere can be adapted to full effect, using specific examples from their games. The reader will learn to construct narrative systems, write procedural dialog, and generate compelling characters with unique personalities and backstories. Key Features Introduces the differences between static/traditional game design and procedural game design Demonstrates how to solve or avoid common problems with procedural game design in a variety of concrete ways World’s finest guide for how to begin thinking about procedural design




Game Dynamics


Book Description

This book offers a compendium of best practices in game dynamics. It covers a wide range of dynamic game elements ranging from player behavior over artificial intelligence to procedural content generation. Such dynamics make virtual worlds more lively and realistic and they also create the potential for moments of amazement and surprise. In many cases, game dynamics are driven by a combination of random seeds, player records and procedural algorithms. Games can even incorporate the player’s real-world behavior to create dynamic responses. The best practices illustrate how dynamic elements improve the user experience and increase the replay value. The book draws upon interdisciplinary approaches; researchers and practitioners from Game Studies, Computer Science, Human-Computer Interaction, Psychology and other disciplines will find this book to be an exceptional resource of both creative inspiration and hands-on process knowledge.




Artificial Intelligence and Games


Book Description

This is the first textbook dedicated to explaining how artificial intelligence (AI) techniques can be used in and for games. After introductory chapters that explain the background and key techniques in AI and games, the authors explain how to use AI to play games, to generate content for games and to model players. The book will be suitable for undergraduate and graduate courses in games, artificial intelligence, design, human-computer interaction, and computational intelligence, and also for self-study by industrial game developers and practitioners. The authors have developed a website (http://www.gameaibook.org) that complements the material covered in the book with up-to-date exercises, lecture slides and reading.




Applications of Evolutionary Computation


Book Description

Evolutionary Computation (EC) techniques are e?cient, nature-inspired me- ods based on the principles of natural evolution and genetics. Due to their - ciency and simple underlying principles, these methods can be used for a diverse rangeofactivitiesincludingproblemsolving,optimization,machinelearningand pattern recognition. A large and continuously increasing number of researchers and professionals make use of EC techniques in various application domains. This volume presents a careful selection of relevant EC examples combined with a thorough examination of the techniques used in EC. The papers in the volume illustrate the current state of the art in the application of EC and should help and inspire researchers and professionals to develop e?cient EC methods for design and problem solving. All papers in this book were presented during EvoApplications 2010, which included a range of events on application-oriented aspects of EC. Since 1998, EvoApplications — formerly known as EvoWorkshops— has provided a unique opportunity for EC researchers to meet and discuss application aspects of EC and has been an important link between EC research and its application in a variety of domains. During these 12 years, new events have arisen, some have disappeared,whileothershavematuredtobecomeconferencesoftheirown,such as EuroGP in 2000, EvoCOP in 2004, and EvoBIO in 2007. And from this year, EvoApplications has become a conference as well.




General Video Game Artificial Intelligence


Book Description

Research on general video game playing aims at designing agents or content generators that can perform well in multiple video games, possibly without knowing the game in advance and with little to no specific domain knowledge. The general video game AI framework and competition propose a challenge in which researchers can test their favorite AI methods with a potentially infinite number of games created using the Video Game Description Language. The open-source framework has been used since 2014 for running a challenge. Competitors around the globe submit their best approaches that aim to generalize well across games. Additionally, the framework has been used in AI modules by many higher-education institutions as assignments, or as proposed projects for final year (undergraduate and Master's) students and Ph.D. candidates. The present book, written by the developers and organizers of the framework, presents the most interesting highlights of the research performed by the authors during these years in this domain. It showcases work on methods to play the games, generators of content, and video game optimization. It also outlines potential further work in an area that offers multiple research directions for the future.




Game AI Pro 2


Book Description

Game AI Pro2: Collected Wisdom of Game AI Professionals presents cutting-edge tips, tricks, and techniques for artificial intelligence (AI) in games, drawn from developers of shipped commercial games as well as some of the best-known academics in the field. It contains knowledge, advice, hard-earned wisdom, and insights gathered from across the com