Chapter 9. Bringing It All Together

Now that we have examined the functional aspects of Java 8, we can use them to create more elegant and succinct applications. In this chapter, we will demonstrate many of the concepts discussed in this book to build a game engine. This application is simple enough to develop quickly, at least our version of a game engine, and has enough features to permit the use of functional programming techniques.

The game engine developed in this chapter is a Zork-like, text-based game. It will not be full featured, but will provide enough framework to demonstrate functional programming techniques and can serve as a basis for a more complete game should you desire to expand it.

We will begin with a discussion of the features ...

Get Learning Java Functional Programming 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.