Maze RMI #2
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
dist
doc
src
.classpath
.gitignore
.project
README

README

The MazeMaze is a School project.

This is a Java RMI implementation of a Maze MMO simulation at a very basic level.

To run the code:
1. Download project from https://github.com/ringe/MazeMaze/zipball/master
2. Import the project to Eclipse
3. Start the RMIServer in mazeoblig
4. Start the Maze applet in mazeoblig
5. Watch.

Enjoy, I didn't.

DESCRIPTION of the Process

mazeoblig.RMIServer starts the RMI registry and binds a
mazeoblig.BoxMaze object to the /maze url. Then the
mazeoblig.Maze applet is started and loads a
mazeoblig.Maze.LotsOfUsers thread to start n number of
mazeoblig.Maze.Worker threads, which each create one
simulator.VirtualUser that join() the BoxMaze through the
mazeoblig.BoxMazeInterface and then makes the VirtualUser move() every so often
VirtualUser.move() sends and update() call through the
mazeoblig.BoxMazeInterface to the BoxMaze instance at
mazeoblig.RMIServer who's
mazeoblig.RMIServer.Sender thread runs updateMap() on the
simulator.User interface for each registered VirtualUser which calls repaint() on
mazeoblig.Maze every time this happens.

And thar she goes!