<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Mazes</title><link>https://sourceforge.net/p/ms-pacman/wiki/Mazes/</link><description>Recent changes to Mazes</description><atom:link href="https://sourceforge.net/p/ms-pacman/wiki/Mazes/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 24 Sep 2012 14:46:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ms-pacman/wiki/Mazes/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Mazes modified by Luuk Bom</title><link>https://sourceforge.net/p/ms-pacman/wiki/Mazes/</link><description>&lt;pre&gt;--- v5
+++ v6
@@ -41,6 +41,8 @@
     
 ~~~~~~~~~~~~~~~~
 
+Note how positions 0,4 and 4,4 are on the outer edge of the maze and still contain an empty space. As these points share the same vertical position (y=4), the framework will convert them to warp tunnels. Agents can use these to teleport themselves from one side of the maze to the other.
+
 *  Next, information needs to be provided regarding the ghosts.
    Add the following line:
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luuk Bom</dc:creator><pubDate>Mon, 24 Sep 2012 14:46:37 -0000</pubDate><guid>https://sourceforge.net8810f8a6a996d8e536badd47f65b0e0c0821bc1b</guid></item><item><title>WikiPage Mazes modified by Luuk Bom</title><link>https://sourceforge.net/p/ms-pacman/wiki/Mazes/</link><description>&lt;pre&gt;--- v4
+++ v5
@@ -23,24 +23,26 @@
     1             | Wall
     2             | Pill
     3             | Power Pill
-    5             | Pac-Man Spawn Point
+    4             | Pac-Man Spawn Point
+    7             | Ghost First Stop (ghosts will start each maze by traveling to this point)
+    8             | Ghost Spawn Area (Ms. Pac-Man will not be allowed to enter this area)
     9             | Ghost Spawn Point
 
 For example:
 
 ~~~~~~~~~~~~~~~~
     1,1,1,1,1
-    1,0,9,0,1
+    1,8,9,8,1
+    1,1,8,1,1
+    1,2,7,2,1
     0,2,1,2,0
-    1,2,1,2,1
-    0,2,1,2,0
-    1,0,5,0,1
+    1,0,4,0,1
     1,1,1,1,1
     
 ~~~~~~~~~~~~~~~~
 
-*  And lastly, information needs to be provided regarding the ghosts.
-   First, add the following line:
+*  Next, information needs to be provided regarding the ghosts.
+   Add the following line:
 
 
 ~~~~~~~~~~~~~~~~
@@ -63,3 +65,20 @@
     0.80
     0.70
 ~~~~~~~~~~~~~~~~
+
+*   Add the following line:
+
+
+~~~~~~~~~~~~~~~~
+    [Scatter]
+~~~~~~~~~~~~~~~~
+
+*   To conclude, we need to state the points which are considered the corners of the maze. These points must not contain a wall and be reachable by all agents, as ghosts will use them as their destination during SCATTER. State the x,y-positions on separate lines. Note that the top left position is 0,0 (and not 1,1). For this example, one might set the maze corners like this:
+
+
+~~~~~~~~~~~~~~~~
+    1,3
+    3,3
+    1,5
+    3,5
+~~~~~~~~~~~~~~~~
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luuk Bom</dc:creator><pubDate>Mon, 24 Sep 2012 14:44:20 -0000</pubDate><guid>https://sourceforge.net04d47710510a66b24dc7f1a714daa1713831d2ac</guid></item><item><title>WikiPage Mazes modified by Luuk Bom</title><link>https://sourceforge.net/p/ms-pacman/wiki/Mazes/</link><description>&lt;pre&gt;--- v3
+++ v4
@@ -1,7 +1,7 @@
 Mazes
 ---------
 
-The framework will automatically play all mazes that are stored inside the directory maze. It will keep cycling through the various mazes, unless eternalGame has been disabled in Globals.java. See [Configuration] on instructions how to setup Globals.java to play each maze only once. The data format for mazes is the following:
+The framework will automatically play all mazes that are stored inside the directory data/maze. It will keep cycling through the various mazes, unless eternalGame has been disabled in Globals.java. See [Configuration] on instructions how to setup Globals.java to play each maze only once. The data format for mazes is the following:
 
 1. The file should start with this:
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luuk Bom</dc:creator><pubDate>Sat, 22 Sep 2012 02:10:51 -0000</pubDate><guid>https://sourceforge.net7349949a6ae0f91a1ac7527ae766806d104b3e6d</guid></item><item><title>WikiPage Mazes modified by Luuk Bom</title><link>https://sourceforge.net/p/ms-pacman/wiki/Mazes/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -9,13 +9,13 @@
     [maze]
 ~~~~~~~~~~~~~~~~
 
-*  Then state the width and height of the maze, seperated by a comma. Such as:
+*  Then, on a new line, state the width and height of the maze separated by a comma. Such as:
 
 ~~~~~~~~~~~~~~~~
-    5,8
+    5,7
 ~~~~~~~~~~~~~~~~
 
-*  Now comes the actual content of the maze. Use the following numbers to denote an object, agent or point. In this example, the framework will expect 8 lines containing 5 comma-seperated numbers.
+*  Now comes the actual content of the maze. Use the following numbers to denote an object, agent or point. In this example, the framework will expect 7 lines containing 5 comma-separated numbers.
 
     Value         | Object, Agent or Point
     ------------- | -------------
@@ -25,3 +25,41 @@
     3             | Power Pill
     5             | Pac-Man Spawn Point
     9             | Ghost Spawn Point
+
+For example:
+
+~~~~~~~~~~~~~~~~
+    1,1,1,1,1
+    1,0,9,0,1
+    0,2,1,2,0
+    1,2,1,2,1
+    0,2,1,2,0
+    1,0,5,0,1
+    1,1,1,1,1
+    
+~~~~~~~~~~~~~~~~
+
+*  And lastly, information needs to be provided regarding the ghosts.
+   First, add the following line:
+
+
+~~~~~~~~~~~~~~~~
+    [Ghost]
+~~~~~~~~~~~~~~~~
+
+*   State the amount of ghosts on a new line. Such as:
+
+
+~~~~~~~~~~~~~~~~
+    4
+~~~~~~~~~~~~~~~~
+
+*   Now, for each ghost, state its speed relative to Ms. Pac-Man. Like so:
+
+
+~~~~~~~~~~~~~~~~
+    0.85
+    0.80
+    0.80
+    0.70
+~~~~~~~~~~~~~~~~
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luuk Bom</dc:creator><pubDate>Thu, 20 Sep 2012 17:43:35 -0000</pubDate><guid>https://sourceforge.net7c222d159ef9f347a02e2ce87c3c77c49c864b0e</guid></item><item><title>WikiPage Mazes modified by Luuk Bom</title><link>https://sourceforge.net/p/ms-pacman/wiki/Mazes/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -6,22 +6,22 @@
 1. The file should start with this:
 
 ~~~~~~~~~~~~~~~~
-   [maze]
+    [maze]
 ~~~~~~~~~~~~~~~~
 
 *  Then state the width and height of the maze, seperated by a comma. Such as:
 
 ~~~~~~~~~~~~~~~~
-   5,8
+    5,8
 ~~~~~~~~~~~~~~~~
 
 *  Now comes the actual content of the maze. Use the following numbers to denote an object, agent or point. In this example, the framework will expect 8 lines containing 5 comma-seperated numbers.
 
-  Value         | Object, Agent or Point
-  ------------- | -------------
-  0             | Empty space
-  1             | Wall
-  2             | Pill
-  3             | Power Pill
-  5             | Pac-Man Spawn Point
-  9             | Ghost Spawn Point
+    Value         | Object, Agent or Point
+    ------------- | -------------
+    0             | Empty space
+    1             | Wall
+    2             | Pill
+    3             | Power Pill
+    5             | Pac-Man Spawn Point
+    9             | Ghost Spawn Point
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luuk Bom</dc:creator><pubDate>Thu, 20 Sep 2012 17:39:04 -0000</pubDate><guid>https://sourceforge.net7095955a634ca7c74bcde3afdd429c95f25f15f1</guid></item><item><title>WikiPage Mazes modified by Luuk Bom</title><link>https://sourceforge.net/p/ms-pacman/wiki/Mazes/</link><description>Mazes
---------

The framework will automatically play all mazes that are stored inside the directory maze. It will keep cycling through the various mazes, unless eternalGame has been disabled in Globals.java. See [Configuration] on instructions how to setup Globals.java to play each maze only once. The data format for mazes is the following:

1. The file should start with this:

~~~~~~~~~~~~~~~~
   [maze]
~~~~~~~~~~~~~~~~

*  Then state the width and height of the maze, seperated by a comma. Such as:

~~~~~~~~~~~~~~~~
   5,8
~~~~~~~~~~~~~~~~

*  Now comes the actual content of the maze. Use the following numbers to denote an object, agent or point. In this example, the framework will expect 8 lines containing 5 comma-seperated numbers.

  Value         | Object, Agent or Point
  ------------- | -------------
  0             | Empty space
  1             | Wall
  2             | Pill
  3             | Power Pill
  5             | Pac-Man Spawn Point
  9             | Ghost Spawn Point</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luuk Bom</dc:creator><pubDate>Thu, 20 Sep 2012 17:38:31 -0000</pubDate><guid>https://sourceforge.net484121bf31773cb2952f6f8841d0438461381869</guid></item></channel></rss>