The roaf sources

This section provides all source files you will need with the code described for the architecture of the ROAF and the reference application London Chase. Chapters 11 thorugh 13 in the book. You can download the sources for the ROAF and the London Chase reference ROApp in one archive - for the time being. The reference application can be run 'out of the box' before you can add players and game rules for your own version of the ROApp.

Please consider the general installation recommendation
In order to run the reference application you need to download the book resources first. 
Then ...

« download roaf.src.zip here »

The roaf v1.0 source files

The folder/file structure is subdivided into three top level packages

  1. roa - The Real Object reference Application London Chase 
  2. roaf - The Real Object Application Framework v1.0
  3. roafx - The ROAF GUI
On midterm these packages will be separated for distributed development.
|   roaf.src.txt
|   gplv3.0.txt
|   gplv3.png
|   
+---roa        *** The Real Object reference Application ***
|   \---ldn               *** London Chase ***
|       +---all
|       |       DecPoint.java
|       |       GameInfo.java
|       |       GameMap.java
|       |       GameSet.java
|       |       Link.java
|       |       NavigableMap.java
|       |       RemoteObjectsApplication.java
|       |       RemotePlayer.java
|       |       RemotePlayerInfo.java
|       |       ROAppProps.java
|       |       
|       +---client
|       |   |   LCPlayer.java
|       |   |   ROClientProps.java
|       |   |   
|       |   \---players
|       |           AIChaser.java
|       |           AIRunner.java
|       |           GUIPlayer.java
|       |           RandomPlayer.java
|       |           
|       \---server
|               Controller.java
|               GameThread.java
|               LondonChase.java
|               ServerEngine.java
|               ServerPlayer.java
|               
+---roaf       *** The Real Object Application Framework ***
|   +---all
|   |       RemoteObject.java
|   |       RemoteObjectsServer.java
|   |       ROServerProps.java
|   |       ServerInfo.java
|   |       
|   +---gps
|   |       GPSinfo.java
|   |       GPStrace.java
|   |       GPSunit.java
|   |       Position.java
|   |       Route.java
|   |       
|   +---roa
|   |       RealObjectsServer.java
|   |       ROBox.java
|   |       ROBoxStates.java
|   |       ROServerException.java
|   |       ServerObject.java
|   |       
|   +---ros
|   |       RealObject.java
|   |       Shape.java
|   |       
|   \---util
|           GeoPoint.java
|           GPSpoint.java
|           Misc.java
|           RMI.java
|           
\---roafx      *** The ROAF GUI ***
    \---gui
        +---map
        |       MapMouseListener.java
        |       MapPanel.java
        |       MapPortListener.java
        |       MapScalePanel.java
        |       MapScrollPane.java
        |       MapViewer.java
        |       
        \---panels
                ROServerPanel.java

.