The Little Book of Adventure Game Programming in Java

Автор: literator от 30-01-2021, 05:07, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

The Little Book of Adventure Game Programming in JavaНазвание: The Little Book of Adventure Game Programming in Java
Автор: Huw Collingbourne
Издательство: Bitwise Books / Dark Neon
Год: 2020
Страниц: 192
Язык: английский
Формат: pdf (true)
Размер: 10.1 MB

Learn Object Oriented Programming in depth by writing a retro text-adventure!

This book will teach you the secrets of text adventure programming – from beginner to advanced level. You will learn how to create Rooms and Treasures, how to let the player take and drop objects and how to save a games using serialization. You will also learn advanced techniques such as using recursion to calculate the combined masses of Treasure objects (so the player can only take a specific number and weight of objects at a time) and parsing adjectives so that the user can enter commands such as “take the small golden Elvish sword”. You can download all the code free – including the Bitwise Interactive Fiction Framework to help you to write your own games!

The Little Book Of Adventure Game Programming in Java provides a step-by-step guide to creating a game in Java. If you want a fun way to extend your knowledge of the Java language and Object Oriented techniques, look no further!

This book explains...

How to write Interactive Fiction (IF) games
Creating class hierarchies
How to create a map of linked 'rooms'
Moving the player around the map
Adding treasures to rooms
How to take and drop treasures
Putting objects into containers (sacks, treasure chests etc.)
Using lists and dictionaries (HashMaps)
Overridden methods
Overloaded methods
How to save and load games
Streaming and serialization
Recursion
Parsing user commands
Matching adjectives with objects
Distinguishing one object from a similar one (e.g. "small gold ring" or "big silver ring")
Calculating total mass of objects (so player can only carry a specified size or weight)
Designing a command-line game to run at the system prompt
Write your own games with the free BIFF game framework

The Little Book Of Adventure Game Programming in Java gives you just the stuff you really need to get straight to the heart of text adventure programming without all the fluff and padding.

What You Should Know Before Starting:
This book assumes that have Java installed and you know how to edit, compile and run Java programs. You should have a basic understanding of Java syntax and you should be familiar with at least the elementary features of Java programs: variables, functions and data-types such as numbers, characters and strings. However, you won’t need to understand more complex elements of the Java language such as classes, lists and serialization. Those topics will be explained in this book.

Who Should Read this Book?
This book is suitable for anyone interested in learning how to write text adventure games in the tradition of the classic games such as Enchanter and Colossal Cave. It also provides a tutorial to developing complex programming projects in Java. It is suitable both for novice Java programmers (who may already be studying Java using a more conventional tutorial) and for more experienced programmers who are looking for a fun, challenging project to develop their programming skills.

Скачать The Little Java Book Of Adventure Game Programming: Learn Object Oriented Coding – advanced techniques (Little Programming Books)








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.