/Textgame

A text game which helped getting to know the basics of java in this first semester project with BlueJ. based on the book "Objects First with Java - A Practical Introduction using BlueJ" from Michael Kolling and David J. Barnes

Primary LanguageJava

Project: zuul-bad
Authors: Michael Kolling and David J. Barnes

This project is part of the material for the book

   Objects First with Java - A Practical Introduction using BlueJ
   Fourth edition
   David J. Barnes and Michael Kolling
   Pearson Education, 2008

This project is a simple framework for an adventure game. In this version,
it has a few rooms and the ability for a player to walk between these rooms.
That's all.

To start this application, create an instance of class "Game" and call its
"play" method.

This version of the game contains some very bad class design. It should NOT
be used as a basis for extending the project without fixing these design
problems. It serves as an example to discuss good and bad design (chapter 7
of the book).

Chapter 7 of the book contains a detailed description of the problems in this
project, and how to fix them.

The project 'zuul-better' contains a version of this project with better
designed class structure. It includes the fixes discussed in the book.