Bitwise Books (Adventure Games in Java)

Bitwise Books publishes books by programmers, for programmers. Each of the titles in our series of Little Books guides you, step by step, through all you need to know in order to become productive, quickly, with a specific programming language or technique.

New! Adventure Games in Java

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 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!