<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to FirstRun</title><link>https://sourceforge.net/p/scbg/wiki/FirstRun/</link><description>Recent changes to FirstRun</description><atom:link href="https://sourceforge.net/p/scbg/wiki/FirstRun/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 09 Jun 2014 09:07:59 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/scbg/wiki/FirstRun/feed" rel="self" type="application/rss+xml"/><item><title>FirstRun modified by Nicolas Cabanis</title><link>https://sourceforge.net/p/scbg/wiki/FirstRun/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="the-first-run-of-the-web-application"&gt;The first run of the web application&lt;/h1&gt;
&lt;p&gt;The wep app is the front end currently being developed. All other front ends are currently not in development. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;create a launch config for the web server &lt;ul&gt;
&lt;li&gt;create a new google 'web application' launch config &lt;/li&gt;
&lt;li&gt;project is 'starcraft.webapp' &lt;/li&gt;
&lt;li&gt;main class is 'com.google.gwt.dev.DevMode' &lt;/li&gt;
&lt;li&gt;run build-in server on port 8888 &lt;/li&gt;
&lt;li&gt;GWT module is the 'StarCraftWebApp' from the 'starcraft.webapp' project &lt;/li&gt;
&lt;li&gt;app engine is not set &lt;/li&gt;
&lt;li&gt;the program arguments are filled in automatically &lt;/li&gt;
&lt;li&gt;add '-Xmx512m -Ddebug' as VM args &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;compile the web project with the GWT compiler &lt;ul&gt;
&lt;li&gt;this step is optional, see &lt;a href="http://code.google.com/intl/de-DE/eclipse/docs/running_and_debugging_2_0.html" rel="nofollow"&gt;http://code.google.com/intl/de-DE/eclipse/docs/running_and_debugging_2_0.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;if there are no modifications done to the client code, it is faster to compile once - otherwise a compilation is done each time you refresh a browser tab &lt;/li&gt;
&lt;li&gt;if you append '?gwt.codesvr=127.0.0.1:9997' to the URL, you will use the browser plugin &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;launch the server &lt;/li&gt;
&lt;li&gt;open three tabs in Firefox &lt;ul&gt;
&lt;li&gt;goto &lt;a href="http://127.0.0.1:8888/starcraft.html?gwt.codesvr=127.0.0.1:9997" rel="nofollow"&gt;http://127.0.0.1:8888/starcraft.html?gwt.codesvr=127.0.0.1:9997&lt;/a&gt; or &lt;a href="http://127.0.0.1:8888/starcraft.html" rel="nofollow"&gt;http://127.0.0.1:8888/starcraft.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Initialization Phase &lt;ul&gt;
&lt;li&gt;register a user in each tab, i.e. user1, user2 and user3 &lt;/li&gt;
&lt;li&gt;in one tab, create a game name, i.e. mygame &lt;/li&gt;
&lt;li&gt;in the other tabs, select the new game (its almost invisble in the current color scheme) and double click, or press join &lt;/li&gt;
&lt;li&gt;in all tabs, select a faction and select 'ready' &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="" src="/apps/trac/scbg/raw-attachment/wiki/FirstRun/step01.png" /&gt; &lt;img alt="" src="/apps/trac/scbg/raw-attachment/wiki/FirstRun/step02.png" /&gt; &lt;img alt="" src="/apps/trac/scbg/raw-attachment/wiki/FirstRun/step03.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Setup Phase &lt;ul&gt;
&lt;li&gt;now, the main screen should be visible in all tabs &lt;/li&gt;
&lt;li&gt;one of the player is active (green bar, other have a red one) &lt;/li&gt;
&lt;li&gt;this player has to start by dragging one of his planets to the center of the screen into the drop field &lt;/li&gt;
&lt;li&gt;a planet can be turned before it is placed, by right-clicking on it &lt;/li&gt;
&lt;li&gt;the green bars indicate 'connector', red bars indicate 'no connector' on that side &lt;/li&gt;
&lt;li&gt;if planets are placed so that two connectors are next to each other, a connection is placed automatically &lt;/li&gt;
&lt;li&gt;after placing the planet, the player can optionally place the base on the planet &lt;/li&gt;
&lt;li&gt;'done' has to be pressed to finish the turn &lt;/li&gt;
&lt;li&gt;if all planets and bases have been placed, the starting force has to be placed in the same way &lt;/li&gt;
&lt;li&gt;remember to press 'done' to finish the turn &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="" src="/apps/trac/scbg/raw-attachment/wiki/FirstRun/step04.jpg" /&gt; &lt;br /&gt;
&lt;img alt="" src="/apps/trac/scbg/raw-attachment/wiki/FirstRun/step05.jpg" /&gt; &lt;br /&gt;
&lt;img alt="" src="/apps/trac/scbg/raw-attachment/wiki/FirstRun/step06.jpg" /&gt; &lt;br /&gt;
&lt;img alt="" src="/apps/trac/scbg/raw-attachment/wiki/FirstRun/step07.jpg" /&gt; &lt;br /&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Planning Phase &lt;ul&gt;
&lt;li&gt;the first player can now start to place the first order token &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="" src="/apps/trac/scbg/raw-attachment/wiki/FirstRun/step08.jpg" /&gt; &lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Cabanis</dc:creator><pubDate>Mon, 09 Jun 2014 09:07:59 -0000</pubDate><guid>https://sourceforge.neted247af2c77cf418db0e400188bc5fa42b22262a</guid></item></channel></rss>