| <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop' |
| |
| #***************************************************************************** |
| # |
| # template.php |
| # |
| # Author: Denis Roy |
| # Date: 2005-06-16 |
| # |
| # Description: Type your page comments here - these are not sent to the browser |
| # |
| # |
| #**************************************************************************** |
| |
| # |
| # Begin: page-specific settings. Change these. |
| $pageTitle = "e4 Rover - How to Play - eclipse.org"; |
| $pageKeywords = "eclipse, e4, rover, mars, challenge, eclipsecon, contest, robot, lego, prize"; |
| $pageAuthor = "Lynn Gayowski"; |
| |
| # Add page-specific Nav bars here |
| # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) |
| # $Nav->addNavSeparator("My Page Links", "downloads.php"); |
| # $Nav->addCustomNav("My Link", "mypage.php", "_self", 1); |
| # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 1); |
| |
| # End: page-specific settings |
| # |
| // This file is linked to from lots of different places. |
| // Use absolute paths to make sure that we can actually test |
| // that the file renders properly (i.e. testing using) "/index.php", |
| // and "/home/index.php" both work. |
| |
| # Paste your HTML content between the EOHTML markers! |
| ob_start(); ?> |
| <div id="fullcolumn"> |
| <div id="midcolumn"> |
| <h1><?=$pageTitle;?></h1> |
| <img id="rover" src="rover.png" /><br/><br/> |
| <p>Your mission is to drive the e4-Rover robot through a series of tasks to explore the Martian |
| landscape. Each task will ask you to drive the e4-Rover to a rock and present an e4-Rover instrument |
| to the rock. Collect points for each successfully completed task within a 3-minute mission game. |
| The player with the top score during the entire conference wins a grand prize. </p> |
| |
| |
| <h3><img src="http://dev.eclipse.org/large_icons/actions/media-seek-forward.png" style="position:relative;top:7px;"/>Get Started</h3> |
| <p>Make sure you have completed the <a href="getstarted.php">getting started instructions</a> to |
| download Eclipse e4, download the e4-Rover client, register for a key and start the client before |
| you play. <bold>Note:</bold> Only EclipseCon 2010 attendees can register to play. |
| </p> |
| |
| <h3><img src="http://dev.eclipse.org/large_icons/actions/media-seek-forward.png" style="position:relative;top:7px;"/>Take the Challenge</h3> |
| <ol> |
| <li><b>Missions</b>: To start a mission, you first need to request control to play by entering your player key |
| in the "Player Key" field. Then press the "Request Control" button to join the player queue (you may have to |
| wait a few seconds). It is your turn when you are the first player in the queue. There will be a short |
| countdown. If your name appears as the player in the "Game" view and you can see the "time remaining" |
| count down, it is your turn to control the robot. The buttons for making the robot move will become |
| enabled. A mission lasts three minutes.<br> |
| <img src="requestcontrol.png"> |
| </li> |
| <li><b>Tasks:</b> When your missions starts you will be presented with the first task. |
| The objective of the game is to score as many points as possible. To score, the robot needs to |
| present the correct "instrument" at the right "rock". Instruments are at |
| the front and back of the robot. Rocks are the little boxes at the edge of the arena, with names |
| taken from <a href="http://www.spacetoday.org/SolSys/Mars/MarsThePlanet/MarsRockGallery.html">rocks</a> |
| that have been found and named as part of the Mars Rovers' missions. |
| The "Game" view shows the next objective, that is, which instrument to present at which rock, and |
| the associated reward. If you present the wrong instrument, or at the wrong rock, you won't score |
| and a new objective will be chosen for you. |
| </li> |
| |
| <table class="complete"> |
| <tr><th>Target Rock</th><th>Target Instrument</th></tr> |
| <tr><td>Adirondack - <span style="color:blue">Blue</span></td><td>Drill (front) - <span style="color:red">Red</span></td></tr> |
| <tr><td>Humphrey - <span style="color:yellow">Yellow</span></td><td>Spectrometer (back) - <span style="color:yellow">Yellow</span></td></tr> |
| <tr><td>Mazatzal - <span style="color:green">Green</span></td><td></td></tr> |
| <tr><td>Mimi - <span style="color:red">Red</span></td></tr></table> |
| |
| <li><b>Moving the e4-Rover:</b> The default e4-Rover client has 8 buttons to allow you to move the e4-Rover |
| through the tasks. A camera provides an image of the e4-Rover so you can actually play the game from any location. However, you will notice there is 2-5 second delay between the image and the robot. |
| If it makes you feel better the latency to Mars can be between 15-20 minutes!</li> |
| <li><b>Point System:</b> For each goal, the reward counter begins at 180 and counts down as you play. |
| When a goal is reached, you receive the number of points remaining on the counter. Mistakes cost 10 points on the reward counter. |
| The reward counter resets to 180 after each goal.</li> |
| <li><b>Improving the client:</b> Raise your score by making the e4-Rover client more efficient. There are |
| lots of way to improve the client to make it easier and quicker to complete the tasks. We leave it |
| to your imagination.</li> |
| </ol> |
| |
| |
| |
| |
| <br><br> |
| |
| </div> |
| |
| <!-- remove the entire <div> tag to omit the right column! --> |
| |
| </div> |
| |
| <? $html = ob_get_clean(); |
| |
| |
| |
| # Generate the web page |
| $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style.css"/>'); |
| $App->generatePage("Nova", $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |