Design

The wanderer game has been reconstructed in three versions. To begin with, a Java version was created as a case study in object oriented design. The Java version was then translated into JavaScript, as an HTML5 experiment and to allow online play. Finally, a C version was developed, as a case study in applying object oriented design ideas to C development. These versions are available online. Here are some design issues which arose:

Differences from the original

Coordinates

Sentinels

Objects

Coordinate arithmetic

Physics

Baby monsters

Testing

The Java Version

The JavaScript Version

The C Version


Back