http://robowiki.net/w/api.php?action=feedcontributions&user=Gsd06&feedformat=atomRobowiki - User contributions [en]2024-03-29T13:54:58ZUser contributionsMediaWiki 1.34.1http://robowiki.net/w/index.php?title=User:Gsd06/Mon_Premier_Robot&diff=17989User:Gsd06/Mon Premier Robot2010-12-23T20:20:00Z<p>Gsd06: </p>
<hr />
<div>Ceci est le classique '''Tutoriel Mon 1er Robot''' qui décrit comment créer votre 1er robot.<br />
<br />
== Créer un Robot ==<br />
<br />
Là est la source d'amusement : voici en quoi [[Robocode]] consiste ! <br />
<br />
{|<br />
| Créer un robot est simple. Le rendre vainqueur l'est moins. Vous pouvez dépenser quelques minutes pour le créer, ou des mois et des mois. Je dois vous prévenir qu'élaborer un robot peut devenir une addiction ! Une fois que vous y êtes, vous voudrez suivre l'évolution de votre création à travers des douleurs grandissantes (as it goes through growing pains), faire des erreurs et louper des tirs essentiels. Mais au fur et à mesure que vous apprendrez, vous deviendrez capable d'apprendre à votre robot comment agir, quoi faire, où aller, quoi éviter, où tirer. Doit il se cacher ou sauter dans la bataille ?<br />
|| [[Image:MatBot.jpg|Picture of the robot named MatBot, which is one Mathew Nelson's robots]]<br />
|}<br />
<br />
= Mon Premier Robot =<br />
Prêt à créer votre 1er robot ? J'espère que vous allez trouver comme c'est facile, (straightforward), amusant et addictif !<br />
<br />
Robocode contient quelques robots types que vous pouvez observer afin d'en tirer des idées, et comprendre comment çà fonctionne. Vous pouvez utiliser 'Robot Editor' pour tous les analyser.<br />
<br />
Dans cette section, nous allons utiliser 'Robot Editor' afin de créer votre tout nouveau robot.<br />
<br />
== The Robot Editor ==<br />
La première étape consiste à ouvrir 'Robot Editor'. A partir de la fenêtre principale cliquez sur le menu '''Robot''', puis sélectionnez '''Editor'''.<br />
<br />
Une fois que la fenêtre d'édition apparait, cliquez sur le menu '''File''', puis sélectionnez '''New Robot'''.<br />
<br />
Dans la boite de dialogue qui suit, tapez un nom pour votre robot, puis entrez vos initiales.<br />
<br />
Voila! Vous voyez maintenant le code de votre propre robot.<br />
<br />
== Un Nouveau Robot ==<br />
Ceci devrait être ce que vous voyez (les noms ont été modifiés afin de protéger des innocents ):<br />
<br />
package man;<br />
import robocode.*;<br />
&nbsp;<br />
public class MyFirstRobot extends Robot {<br />
public void run() {<span style="color:green"><b><br />
while (true) {<br />
ahead(100);<br />
turnGunRight(360);<br />
back(100);<br />
turnGunRight(360);<br />
}</b></span><br />
}<br />
&nbsp;<span style="color:green"><b><br />
public void onScannedRobot(ScannedRobotEvent e) {<br />
fire(1);<br />
}</b></span><br />
}<br />
<br />
Nous sommes uniquement concernés par les parties en '''<span style="color:green">bold</span>''' ... vous n'aurez pas à changer quoi que ce soit d'autres. Pas grand chose, non ?<br />
<br />
En fait, vous êtes VRAIMENT concerné par le reste, dès maintenant, que je vous décris ici :<br />
<br />
package man;<br />
import robocode.*;<br />
&nbsp;<br />
public class MyFirstRobot extends Robot {<br />
public void run() {<br />
}<br />
}<br />
<br />
{| border="1" style="text-align:left"<br />
! import robocode.*;<br />
| Indique à Java that you're going to use Robocode objects in your robot.<br />
|-<br />
! public class MyFirstRobot extends Robot<br />
| Indique à Java: "The object I'm describing here is a type of [[Robot]], named MyFirstRobot".<br />
|-<br />
! public void run() { }<br />
| The game calls your run() method when the battle begins.<br />
|-<br />
! { }<br />
| "Curly brackets" ( '''{ }''' ) group things together. In this case, they're grouping together all the code for the robot.<br />
|}<br />
<br />
<br />
== Let's move somewhere ==<br />
Let's add a couple lines so that it will do something.<br />
<br />
First, we'll examine the run() method: <br />
<br />
while (true) {<br />
ahead(100);<br />
turnGunRight(360);<br />
back(100);<br />
turnGunRight(360);<br />
}<br />
<br />
<code>while(true) { }</code> means: "While the condition <code>true</code> is true, do everything between the curly brackets { }".<br />
<br />
Since <code>true</code> is always true (no kidding? ;-), it means: "Do the stuff inside my curly brackets, forever". <br />
<br />
So this robot will:<br />
# move ahead 100 pixels<br />
# turn the gun right by 360 degrees<br />
# move back 100 pixels<br />
# turn the gun left/back by 360 degrees<br />
<br />
The robot will continue doing this over and over and over, until it dies, due to the <code>while(true)</code> statement.<br />
<br />
Not so bad, right?<br />
<br />
== Fire at Will! ==<br />
When our radar scans a robot, we want to fire:<br />
<br />
public void onScannedRobot(ScannedRobotEvent e) {<br />
fire(1);<br />
}<br />
<br />
The game calls your '''onScannedRobot''' method whenever you can see another robot.<br />
It sends along an event that can tell us lots of information about the robot -- its name, how much life it has, where it is, where it's heading, how fast it's going, etc.<br />
<br />
However, since this is a simple robot, we're not going to look at any of that stuff. Let's just fire!<br />
<br />
== Compile your robot ==<br />
First, save your robot by selecting the '''Save''' in the '''File''' menu. Follow the prompts to save your robot.<br />
<br />
Now, compile it by selecting '''Compile''' in the '''Compiler''' menu.<br />
<br />
If your robot compiles without any errors, you can start a new battle with your robot. Start a new battle by selecting '''New''' in the '''Battle''' menu. If you cannot see your robot, you might have to refresh the list of robots by '''pressing F5'''. Add your robot to the battle together with at least one other robot as e.g. sample.Target, and press the '''Start Battle''' button to let the games begin!<br />
<br />
== What's next? ==<br />
You should have a look at all the sample robots to see how certain things are done.<br />
<br />
You'll eventually want to look at the [http://robocode.sourceforge.net/docs/robocode/ Robocode API] to see all the other things your robot can do.<br />
<br />
Above all, good luck, have fun, and enjoy!<br />
<br />
<br />
<br />
<br />
[[Category:Robocode Documentation]]<br />
[[Category:Tutorials]]</div>Gsd06http://robowiki.net/w/index.php?title=User:Gsd06/Mon_Premier_Robot&diff=17988User:Gsd06/Mon Premier Robot2010-12-23T20:02:43Z<p>Gsd06: </p>
<hr />
<div>Ceci est le classique '''Tutoriel Mon 1er Robot''' qui décrit comment créer votre 1er robot.<br />
<br />
== Créer un Robot ==<br />
<br />
Là est la source d'amusement : voici en quoi [[Robocode]] consiste ! <br />
<br />
{|<br />
| Créer un robot est simple. Le rendre vainqueur l'est moins. Vous pouvez dépenser quelques minutes pour le créer, ou des mois et des mois. Je dois vous prévenir qu'élaborer un robot peut devenir une addiction ! Une fois que vous y êtes, vous voudrez suivre l'évolution de votre création à travers des douleurs grandissantes (as it goes through growing pains), faire des erreurs et louper des tirs essentiels. Mais au fur et à mesure que vous apprendrez, vous deviendrez capable d'apprendre à votre robot comment agir, quoi faire, où aller, quoi éviter, où tirer. Doit il se cacher ou sauter dans la bataille ?<br />
|| [[Image:MatBot.jpg|Picture of the robot named MatBot, which is one Mathew Nelson's robots]]<br />
|}<br />
<br />
= Mon Premier Robot =<br />
Prêt à créer votre 1er robot ? J'espère que vous allez trouver comme c'est facile, (straightforward), amusant et addictif !<br />
<br />
Robocode contient quelques robots types que vous pouvez observer afin d'en tirer des idées, et comprendre comment çà fonctionne. Vous pouvez utiliser 'Robot Editor' pour tous les analyser.<br />
<br />
Dans cette section, nous allons utiliser 'Robot Editor' afin de créer votre tout nouveau robot.<br />
<br />
== The Robot Editor ==<br />
La première étape consiste à ouvrir 'Robot Editor'. A partir de la fenêtre principale cliquez sur le menu '''Robot''', puis sélectionnez '''Editor'''.<br />
<br />
When the editor window comes up, click on the '''File''' menu, then select '''New Robot'''.<br />
<br />
In the dialogs that follow, type in a name for your robot, and enter your initials.<br />
<br />
Voila! You now see the code for your own robot.<br />
<br />
== A New Robot ==<br />
This is what you should be looking at (names have been changed to protect the innocent):<br />
<br />
package man;<br />
import robocode.*;<br />
&nbsp;<br />
public class MyFirstRobot extends Robot {<br />
public void run() {<span style="color:green"><b><br />
while (true) {<br />
ahead(100);<br />
turnGunRight(360);<br />
back(100);<br />
turnGunRight(360);<br />
}</b></span><br />
}<br />
&nbsp;<span style="color:green"><b><br />
public void onScannedRobot(ScannedRobotEvent e) {<br />
fire(1);<br />
}</b></span><br />
}<br />
<br />
We're only concerned with the bits in '''<span style="color:green">bold</span>''' here... you won't need to change anything else. Not that much, right?<br />
<br />
By the way, if you're REALLY concerned about the rest of it, right now, I describe it here:<br />
<br />
package man;<br />
import robocode.*;<br />
&nbsp;<br />
public class MyFirstRobot extends Robot {<br />
public void run() {<br />
}<br />
}<br />
<br />
{| border="1" style="text-align:left"<br />
! import robocode.*;<br />
| Tells Java that you're going to use Robocode objects in your robot.<br />
|-<br />
! public class MyFirstRobot extends Robot<br />
| Tells Java: "The object I'm describing here is a type of [[Robot]], named MyFirstRobot".<br />
|-<br />
! public void run() { }<br />
| The game calls your run() method when the battle begins.<br />
|-<br />
! { }<br />
| "Curly brackets" ( '''{ }''' ) group things together. In this case, they're grouping together all the code for the robot.<br />
|}<br />
<br />
<br />
== Let's move somewhere ==<br />
Let's add a couple lines so that it will do something.<br />
<br />
First, we'll examine the run() method: <br />
<br />
while (true) {<br />
ahead(100);<br />
turnGunRight(360);<br />
back(100);<br />
turnGunRight(360);<br />
}<br />
<br />
<code>while(true) { }</code> means: "While the condition <code>true</code> is true, do everything between the curly brackets { }".<br />
<br />
Since <code>true</code> is always true (no kidding? ;-), it means: "Do the stuff inside my curly brackets, forever". <br />
<br />
So this robot will:<br />
# move ahead 100 pixels<br />
# turn the gun right by 360 degrees<br />
# move back 100 pixels<br />
# turn the gun left/back by 360 degrees<br />
<br />
The robot will continue doing this over and over and over, until it dies, due to the <code>while(true)</code> statement.<br />
<br />
Not so bad, right?<br />
<br />
== Fire at Will! ==<br />
When our radar scans a robot, we want to fire:<br />
<br />
public void onScannedRobot(ScannedRobotEvent e) {<br />
fire(1);<br />
}<br />
<br />
The game calls your '''onScannedRobot''' method whenever you can see another robot.<br />
It sends along an event that can tell us lots of information about the robot -- its name, how much life it has, where it is, where it's heading, how fast it's going, etc.<br />
<br />
However, since this is a simple robot, we're not going to look at any of that stuff. Let's just fire!<br />
<br />
== Compile your robot ==<br />
First, save your robot by selecting the '''Save''' in the '''File''' menu. Follow the prompts to save your robot.<br />
<br />
Now, compile it by selecting '''Compile''' in the '''Compiler''' menu.<br />
<br />
If your robot compiles without any errors, you can start a new battle with your robot. Start a new battle by selecting '''New''' in the '''Battle''' menu. If you cannot see your robot, you might have to refresh the list of robots by '''pressing F5'''. Add your robot to the battle together with at least one other robot as e.g. sample.Target, and press the '''Start Battle''' button to let the games begin!<br />
<br />
== What's next? ==<br />
You should have a look at all the sample robots to see how certain things are done.<br />
<br />
You'll eventually want to look at the [http://robocode.sourceforge.net/docs/robocode/ Robocode API] to see all the other things your robot can do.<br />
<br />
Above all, good luck, have fun, and enjoy!<br />
<br />
<br />
<br />
<br />
[[Category:Robocode Documentation]]<br />
[[Category:Tutorials]]</div>Gsd06http://robowiki.net/w/index.php?title=User:Gsd06/Mon_Premier_Robot&diff=17987User:Gsd06/Mon Premier Robot2010-12-23T19:41:11Z<p>Gsd06: Created page with 'This is the classic '''My First Robot Tutorial''' that tells how to create your first robot. == Creating a Robot == Here's the fun stuff: This is what Robocode is all about!…'</p>
<hr />
<div>This is the classic '''My First Robot Tutorial''' that tells how to create your first robot.<br />
<br />
== Creating a Robot ==<br />
Here's the fun stuff: This is what [[Robocode]] is all about! <br />
<br />
{|<br />
| Creating a robot can be easy. Making your robot a winner is not. You can spend only a few minutes on it, or you can spend months and months. I'll warn you that writing a robot can be addictive! Once you get going, you'll watch your creation as it goes through growing pains, making mistakes and missing critical shots. But as you learn, you'll be able to teach your robot how to act and what to do, where to go, who to avoid, and where to fire. Should it hide in a corner, or jump into the fray?<br />
|| [[Image:MatBot.jpg|Picture of the robot named MatBot, which is one Mathew Nelson's robots]]<br />
|}<br />
<br />
= My First Robot =<br />
Ready to create your first robot? I hope you'll find that it's easy, straightforward, fun, and addictive!<br />
<br />
Robocode ships with a number of sample robots that you can look at for ideas, and to see how things work. You can use the Robot Editor to look at all of them.<br />
<br />
In this section, we'll use the Robot Editor to create your very own, brand new robot.<br />
<br />
== The Robot Editor ==<br />
The first step is to open up the Robot Editor. From the main Robocode screen, click on the '''Robot''' menu, then select '''Editor'''.<br />
<br />
When the editor window comes up, click on the '''File''' menu, then select '''New Robot'''.<br />
<br />
In the dialogs that follow, type in a name for your robot, and enter your initials.<br />
<br />
Voila! You now see the code for your own robot.<br />
<br />
== A New Robot ==<br />
This is what you should be looking at (names have been changed to protect the innocent):<br />
<br />
package man;<br />
import robocode.*;<br />
&nbsp;<br />
public class MyFirstRobot extends Robot {<br />
public void run() {<span style="color:green"><b><br />
while (true) {<br />
ahead(100);<br />
turnGunRight(360);<br />
back(100);<br />
turnGunRight(360);<br />
}</b></span><br />
}<br />
&nbsp;<span style="color:green"><b><br />
public void onScannedRobot(ScannedRobotEvent e) {<br />
fire(1);<br />
}</b></span><br />
}<br />
<br />
We're only concerned with the bits in '''<span style="color:green">bold</span>''' here... you won't need to change anything else. Not that much, right?<br />
<br />
By the way, if you're REALLY concerned about the rest of it, right now, I describe it here:<br />
<br />
package man;<br />
import robocode.*;<br />
&nbsp;<br />
public class MyFirstRobot extends Robot {<br />
public void run() {<br />
}<br />
}<br />
<br />
{| border="1" style="text-align:left"<br />
! import robocode.*;<br />
| Tells Java that you're going to use Robocode objects in your robot.<br />
|-<br />
! public class MyFirstRobot extends Robot<br />
| Tells Java: "The object I'm describing here is a type of [[Robot]], named MyFirstRobot".<br />
|-<br />
! public void run() { }<br />
| The game calls your run() method when the battle begins.<br />
|-<br />
! { }<br />
| "Curly brackets" ( '''{ }''' ) group things together. In this case, they're grouping together all the code for the robot.<br />
|}<br />
<br />
<br />
== Let's move somewhere ==<br />
Let's add a couple lines so that it will do something.<br />
<br />
First, we'll examine the run() method: <br />
<br />
while (true) {<br />
ahead(100);<br />
turnGunRight(360);<br />
back(100);<br />
turnGunRight(360);<br />
}<br />
<br />
<code>while(true) { }</code> means: "While the condition <code>true</code> is true, do everything between the curly brackets { }".<br />
<br />
Since <code>true</code> is always true (no kidding? ;-), it means: "Do the stuff inside my curly brackets, forever". <br />
<br />
So this robot will:<br />
# move ahead 100 pixels<br />
# turn the gun right by 360 degrees<br />
# move back 100 pixels<br />
# turn the gun left/back by 360 degrees<br />
<br />
The robot will continue doing this over and over and over, until it dies, due to the <code>while(true)</code> statement.<br />
<br />
Not so bad, right?<br />
<br />
== Fire at Will! ==<br />
When our radar scans a robot, we want to fire:<br />
<br />
public void onScannedRobot(ScannedRobotEvent e) {<br />
fire(1);<br />
}<br />
<br />
The game calls your '''onScannedRobot''' method whenever you can see another robot.<br />
It sends along an event that can tell us lots of information about the robot -- its name, how much life it has, where it is, where it's heading, how fast it's going, etc.<br />
<br />
However, since this is a simple robot, we're not going to look at any of that stuff. Let's just fire!<br />
<br />
== Compile your robot ==<br />
First, save your robot by selecting the '''Save''' in the '''File''' menu. Follow the prompts to save your robot.<br />
<br />
Now, compile it by selecting '''Compile''' in the '''Compiler''' menu.<br />
<br />
If your robot compiles without any errors, you can start a new battle with your robot. Start a new battle by selecting '''New''' in the '''Battle''' menu. If you cannot see your robot, you might have to refresh the list of robots by '''pressing F5'''. Add your robot to the battle together with at least one other robot as e.g. sample.Target, and press the '''Start Battle''' button to let the games begin!<br />
<br />
== What's next? ==<br />
You should have a look at all the sample robots to see how certain things are done.<br />
<br />
You'll eventually want to look at the [http://robocode.sourceforge.net/docs/robocode/ Robocode API] to see all the other things your robot can do.<br />
<br />
Above all, good luck, have fun, and enjoy!<br />
<br />
<br />
<br />
<br />
[[Category:Robocode Documentation]]<br />
[[Category:Tutorials]]</div>Gsd06http://robowiki.net/w/index.php?title=Talk:Robocode_Basics/fr&diff=17986Talk:Robocode Basics/fr2010-12-23T19:37:34Z<p>Gsd06: </p>
<hr />
<div>Hi, I've tried to added a reference to the original English page, without success. [[en:Getting_Started]] does not work. Any idea ? Thanks --[[User:Gsd06|Gsd06]] 19:37, 23 December 2010 (UTC)</div>Gsd06http://robowiki.net/w/index.php?title=Talk:Robocode_Basics/fr&diff=17985Talk:Robocode Basics/fr2010-12-23T19:37:04Z<p>Gsd06: Created page with 'Hi, I've tried to added a reference to the original English page, without success. en:Getting_Started does not work. Any idea ? --~~~~'</p>
<hr />
<div>Hi, I've tried to added a reference to the original English page, without success. [[en:Getting_Started]] does not work. Any idea ? --[[User:Gsd06|Gsd06]] 19:37, 23 December 2010 (UTC)</div>Gsd06http://robowiki.net/w/index.php?title=Robocode_Basics/fr&diff=17984Robocode Basics/fr2010-12-23T19:35:33Z<p>Gsd06: </p>
<hr />
<div>== Débuter ==<br />
Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', comme affiché ci-dessous :<br />
<br />
[[Image:NewBattle.png|Starting a new battle by selecting New in the Battle menu]]<br />
<br />
La fenêtre '''New Battle''' s'affiche, à partir de laquelle on choisit les robots et les options d'une bataille. Pour cette bataille, nous allons essayer avec les robots MyFirstRobot, RamFire, et Tracker. On les ajoute en double-cliquant sur leur nom respectif (ou en sélectionnant chacun et cliquer sur '''Add'''). La fenêtre devrait apparaitre ainsi :<br />
<br />
[[Image:NewBattleDialog.png|Shows the New Battle dialog where the user can select which robots to add to a new battle]]<br />
<br />
Voyez vous le champs '''Number of Rounds''' au milieu ?<br />
<br />
Dans Robocode, chaque bataille est constituée d'un nombre de manches, comme vous allez le voir bientôt. Pour l'instant, nous allons le laisser à sa valeur par défaut de 10 manches. <br />
<br />
Enfin, cliquez sur le bouton '''Start Battle''' pour commencer ! Regardez la petite danse de Tracker quand il gagne une manche.<br />
<br />
<br />
[[Category:Robocode Documentation]]<br />
[[Category:Tutorials]]</div>Gsd06http://robowiki.net/w/index.php?title=Robocode_Basics/fr&diff=17983Robocode Basics/fr2010-12-23T19:25:10Z<p>Gsd06: </p>
<hr />
<div>== Débuter ==<br />
Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', comme affiché ci-dessous :<br />
<br />
[[Image:NewBattle.png|Starting a new battle by selecting New in the Battle menu]]<br />
<br />
La fenêtre '''New Battle''' s'affiche, à partir de laquelle on choisit les robots et les options d'une bataille. Pour cette bataille, nous allons essayer avec les robots MyFirstRobot, RamFire, et Tracker. On les ajoute en double-cliquant sur leur nom respectif (ou en sélectionnant chacun et cliquer sur '''Add'''). La fenêtre devrait apparaitre ainsi :<br />
<br />
[[Image:NewBattleDialog.png|Shows the New Battle dialog where the user can select which robots to add to a new battle]]<br />
<br />
Voyez vous le champs '''Number of Rounds''' au milieu ?<br />
<br />
Dans Robocode, chaque bataille est constituée d'un nombre de manches, comme vous allez le voir bientôt. Pour l'instant, nous allons le laisser à sa valeur par défaut de 10 manches. <br />
<br />
Enfin, cliquez sur le bouton '''Start Battle''' pour commencer ! Regardez la petite danse de Tracker quand il gagne une manche.<br />
<br />
[[en:Robocode/Getting_Started]]<br />
<br />
[[Category:Robocode Documentation]]<br />
[[Category:Tutorials]]</div>Gsd06http://robowiki.net/w/index.php?title=Robocode_Basics/fr&diff=17982Robocode Basics/fr2010-12-23T19:21:35Z<p>Gsd06: </p>
<hr />
<div>== Débuter ==<br />
Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', comme affiché ci-dessous :<br />
<br />
[[Image:NewBattle.png|Starting a new battle by selecting New in the Battle menu]]<br />
<br />
La fenêtre '''New Battle''' s'affiche, à partir de laquelle on choisit les robots et les options d'une bataille. Pour cette bataille, nous allons essayer avec les robots MyFirstRobot, RamFire, et Tracker. On les ajoute en double-cliquant sur leur nom respectif (ou en sélectionnant chacun et cliquer sur '''Add'''). La fenêtre devrait apparaitre ainsi :<br />
<br />
[[Image:NewBattleDialog.png|Shows the New Battle dialog where the user can select which robots to add to a new battle]]<br />
<br />
Voyez vous le champs '''Number of Rounds''' au milieu ?<br />
<br />
Dans Robocode, chaque bataille est constituée d'un nombre de manches, comme vous allez le voir bientôt. Pour l'instant, nous allons le laisser à sa valeur par défaut de 10 manches. <br />
<br />
Enfin, cliquez sur le bouton '''Start Battle''' pour commencer ! Regardez la petite danse de Tracker quand il gagne une manche.<br />
<br />
[[en:Main_Page]]</div>Gsd06http://robowiki.net/w/index.php?title=Robocode_Basics/fr&diff=17981Robocode Basics/fr2010-12-23T19:14:12Z<p>Gsd06: </p>
<hr />
<div>== Débuter ==<br />
Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', comme affiché ci-dessous :<br />
<br />
[[Image:NewBattle.png|Starting a new battle by selecting New in the Battle menu]]<br />
<br />
La fenêtre '''New Battle''' s'affiche, à partir de laquelle on choisit les robots et les options d'une bataille. Pour cette bataille, nous allons essayer avec les robots MyFirstRobot, RamFire, et Tracker. On les ajoute en double-cliquant sur leur nom respectif (ou en sélectionnant chacun et cliquer sur '''Add'''). La fenêtre devrait apparaitre ainsi :<br />
<br />
[[Image:NewBattleDialog.png|Shows the New Battle dialog where the user can select which robots to add to a new battle]]<br />
<br />
Voyez vous le champs '''Number of Rounds''' au milieu ?<br />
<br />
Dans Robocode, chaque bataille est constituée d'un nombre de manches, comme vous allez le voir bientôt. Pour l'instant, nous allons le laisser à sa valeur par défaut de 10 manches. <br />
<br />
Enfin, cliquez sur le bouton '''Start Battle''' pour commencer ! Regardez la petite danse de Tracker quand il gagne une manche.</div>Gsd06http://robowiki.net/w/index.php?title=User:Gsd06&diff=17980User:Gsd062010-12-23T19:11:38Z<p>Gsd06: </p>
<hr />
<div>== Background ==<br />
I'm French. I have worked many years on high-technologies, now focused on management improvement approaches.<br />
I have recently discovered Robocode due to one of my teenagers ;-) and found it so interesting to help student to learn those purpose.<br />
<br />
== Proposal ==<br />
I offer to create French pages and hope to find time to translate, at least, all basics pages if the community finds it relevant :-).<br />
<br />
About Robocoding, I am already systematically beaten by this teenager mentioned above ;(<br />
<br />
[[Category:Authors|Gsd06]]</div>Gsd06http://robowiki.net/w/index.php?title=User:Gsd06&diff=17979User:Gsd062010-12-23T19:04:49Z<p>Gsd06: /* Background */</p>
<hr />
<div>== Background ==<br />
I'm French. I have worked many years on high-technologies, now focused on management improvement approaches.<br />
I have recently discovered Robocode due to one of my teenagers ;-) and found it so interesting to help student to learn those purpose.<br />
<br />
== Proposal ==<br />
I offer to create French pages and hope to find time to translate, at least, all basics pages if the community finds it relevant :-).<br />
<br />
[[Category:Authors|Gsd06]]</div>Gsd06http://robowiki.net/w/index.php?title=User_talk:Gsd06&diff=17978User talk:Gsd062010-12-23T19:01:01Z<p>Gsd06: </p>
<hr />
<div>{| width="100%" style="background: white; " <br />
| valign="top" width="60%" style="border: 2px solid #000; padding: .5em 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; border-radius: 1em" |<br />
'''Welcome!'''<br />
<br />
Hello, {{BASEPAGENAME}}, and welcome to [[RoboWiki]]! This place contains a wealth information about [[Robocode]], from [[Head-On Targeting|basic]] to [[Wave Surfing|more advanced]]. I hope you enjoy creating robots and being a robocoder!<br />
<br />
If you are posting a comment on this wiki, please [[wikipedia:Wikipedia:Signatures|sign]] your messages using four tildes (<nowiki>--~~~~</nowiki>); this will automatically insert your username and the date stamp. If you are not familiar with MediaWiki, these links might help you out:<br />
* [[wikipedia:How to edit|How to edit]] on [[wikipedia:|Wikipedia]], [[metawikipedia:Cheatsheet|Cheatsheet]] and [[metawikipedia:File:MediaWikiRefCard.pdf|Reference Card]] of MediaWiki on the [[metawikipedia:|Meta Wikipedia]].<br />
* [[RoboWiki:ReadMe|Readme]] page.<br />
If you need [[Help:Help|help]], check out the [[Robocode/FAQ|frequently asked questions]] or ask it on this page. Again, welcome!<br />
<br />
—— [[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 11:59, 23 December 2010 (UTC) <br />
|}<br />
<br />
Welcome to the wiki!<br />
<br />
Regarding to your French pages, I think you could also set up another wiki and use MediaWiki's language system (like one on Wikipedia's). I used to do Thai, hosted on my server, but it seems that right now I am the only Thai who still interested in this, so the project were largely abandoned. (But it sill accessible, looks for link on [[Main Page]] & [[Radar]] page). And from that experience, I found that most people who are interested in Robocode as well as programming are quite fluent in English. (And being a Eastern Language, some term are ''very'' hard to translate ;)) I also found out that I should spent time on Robocoding instead of Translating. --[[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 11:59, 23 December 2010 (UTC)<br />
<br />
Thanks for your reception !<br />
<br />
Regarding your advise, to set up another wiki, does it mean to need, at least, an host server ? Why setting up another vs. adding some translated pages?<br />
About your feedback, I perfectly agree until the fact, that a teenager (one of mine ;-)) brought me into Robocode because of lacks in English... Then, I believe getting some basics translated in French may help to add some new French players into the Robocode world :).--[[User:Gsd06|Gsd06]] 19:01, 23 December 2010 (UTC)</div>Gsd06http://robowiki.net/w/index.php?title=User:Gsd06&diff=17976User:Gsd062010-12-23T00:25:48Z<p>Gsd06: /* Proposal */</p>
<hr />
<div>== Background ==<br />
I'm French. I have worked many years on high-technologies, now focused on management improvement approaches.<br />
I have recently discovered Robocode and found it so interesting to help student to learn those purpose.<br />
<br />
== Proposal ==<br />
I offer to create French pages and hope to find time to translate, at least, all basics pages if the community finds it relevant :-).<br />
<br />
[[Category:Authors|Gsd06]]</div>Gsd06http://robowiki.net/w/index.php?title=User:Gsd06&diff=17975User:Gsd062010-12-23T00:11:00Z<p>Gsd06: </p>
<hr />
<div>== Background ==<br />
I'm French. I have worked many years on high-technologies, now focused on management improvement approaches.<br />
I have recently discovered Robocode and found it so interesting to help student to learn those purpose.<br />
<br />
== Proposal ==<br />
I propose to create French pages<br />
<br />
[[Category:Authors|Gsd06]]</div>Gsd06http://robowiki.net/w/index.php?title=User:Gsd06&diff=17974User:Gsd062010-12-23T00:09:58Z<p>Gsd06: Created page with '== Background == I'm French. I have worked many years on high-technologies, now focused on management improvement approaches. I have recently discovered Robocode and found it so …'</p>
<hr />
<div>== Background ==<br />
I'm French. I have worked many years on high-technologies, now focused on management improvement approaches.<br />
I have recently discovered Robocode and found it so interesting to help student to learn those purpose.<br />
<br />
== Proposal ==<br />
I propose to create French pages<br />
<br />
[[Category:Bot Authors|Gsd06]]</div>Gsd06http://robowiki.net/w/index.php?title=Talk:Robocode/Getting_Started&diff=17973Talk:Robocode/Getting Started2010-12-22T23:45:02Z<p>Gsd06: /* French translation */ new section</p>
<hr />
<div>== Robocode Basics redirect ==<br />
<br />
Are we sure that [[Robocode Basics]] should redirect here and not to [[Robocode]]? The Robocode page seems more like an introductory page than this. --<code>[[User:AaronR|AaronR]]</code> 20:50, 4 December 2007 (UTC)<br />
<br />
: Hmm.. good question. What do we really mean when we say "Robocode Basics". I think of the basics I should know to get started, not what Robocode is. Perhaps we should drop the "Robocode Basics" page, and do no redirect. We could also make a real Robocode Basics, which kind of explain what exacly the Robocode basics a newcomer should familiarize himself/herself with in order to know all the basics? If you are really against the redirect, then just change it. ;-) --[[User:FlemmingLarsen|Fnl]] 22:47, 4 December 2007 (UTC)<br />
<br />
:: Well, at present, this page assumes that you know what Robocode is and that you have already downloaded and installed it. The first thing a beginner is likely to do would be to click on the Robocode Basics link on the home page. Perhaps the name of this page is a misnomer; it seems like "Robocode/Running a Battle" or something along those lines would be more appropriate. --<code>[[User:AaronR|AaronR]]</code> 01:36, 5 December 2007 (UTC)<br />
<br />
::: Yes, "Robocode/Getting Started" is the "Robocode/Running a Battle", so perhaps we should "just" change the name of this page? (and all places where I have written "Getting started" in links) --[[User:FlemmingLarsen|Fnl]] 22:07, 5 December 2007 (UTC)<br />
<br />
== Learning Robocode ==<br />
<br />
Hmm. Seems to me, learning Robocode is a hard task. I don't know why exactly, but I don't seem to make much progress. How long does it take to master? Does anyone else face these - er - barriers? {{unsigned|Urgood2}}<br />
<br />
Well, I think 'mastery' is an interesting question. I think it was roughly 4 months between when I started robocoding and when I had something I felt ready to release in public, but I wouldn't say I had 'mastered' it by that point. On the other hand, people do often release things earlier than that. I don't think there's any specific level one could call 'mastery'. I would say the two biggest factors that affect how easy/hard it is to learn are one's existing familiarity with programming, and with geometry. May I ask what kind of barriers you mean? If you haven't already my suggestion would be to try making something that can beat the sample bots. If you have any questions, feel free to ask. --[[User:Rednaxela|Rednaxela]] 15:30, 23 April 2010 (UTC)<br />
<br />
Ok, I'll try that! Thanks --[[User:Urgood2|-- Josh S]] 05:09, 24 April 2010 (UTC)<br />
<br />
To master Robocode, I believe, isn't just good at programming and geometry, you need to be good at statistic and have a LOT of patient to fine-turning some precise and sensitive factor in your robot. How much progress you have? --[[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 15:36, 23 April 2010 (UTC)<br />
<br />
Not much really, though I experiment quite often. Concepts like wall avoidance and linear targeting seem strange to me still. My hopes are though, I'll become better at using them one day :) --[[User:Urgood2|-- Josh S]] 05:09, 24 April 2010 (UTC)<br />
<br />
Of course, I imagine everyone faces similar barriers. Familiarity with programming, geometry, trigonometry, Object-Oriented Programming, and programming to APIs will all help. However, I'm sure many Robocoders lack some of these skills, and Robocode is a good place to learn them. Trying to beat the sample bots is indeed a good challenge to start with. If you stick with it, check out [[:Category:Tutorials|Tutorials]], and aren't afraid to ask questions on the wiki, I'm sure you'll do fine. =) I'm also a fan of [[Special:Randompage]]. --[[User:Voidious|Voidious]] 15:45, 23 April 2010 (UTC)<br />
<br />
I hope so =) --[[User:Urgood2|-- Josh S]] 05:09, 24 April 2010 (UTC)<br />
<br />
== French translation ==<br />
<br />
Hi, I've created the corresponding French page for trial.<br />
[[http://robowiki.net/wiki/Robocode_Basics/fr]]<br />
My goal is to provide, at least, the basics.<br />
Do you find it relevant ?</div>Gsd06http://robowiki.net/w/index.php?title=Robocode_Basics/fr&diff=17972Robocode Basics/fr2010-12-22T23:43:47Z<p>Gsd06: /* Débuter */</p>
<hr />
<div>== Débuter ==<br />
Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', comme affiché ci-dessous :<br />
<br />
[[Image:NewBattle.png|Starting a new battle by selecting New in the Battle menu]]<br />
<br />
La fenêtre '''New Battle''' s'affiche, à partir de laquelle on choisit les robots et les options d'une bataille. Pour cette bataille, nous allons essayer avec les robots MyFirstRobot, RamFire, et Tracker. On les ajoute en double-cliquant sur leur nom respectif (ou en sélectionnant chacun et cliquer sur '''Add'''). La fenêtre devrait apparaitre ainsi :<br />
[[Image:NewBattleDialog.png|Shows the New Battle dialog where the user can select which robots to add to a new battle]]<br />
<br />
Voyez vous le champs '''Number of Rounds''' au milieu ?<br />
<br />
Dans Robocode, chaque bataille est constituée d'un nombre de manches, comme vous allez le voir bientôt. Pour l'instant, nous allons le laisser à sa valeur par défaut de 10 manches. <br />
<br />
Enfin, cliquez sur le bouton '''Start Battle''' pour commencer ! Regardez la petite danse de Tracker quand il gagne une manche.</div>Gsd06http://robowiki.net/w/index.php?title=Robocode_Basics/fr&diff=17971Robocode Basics/fr2010-12-22T23:42:44Z<p>Gsd06: /* Débuter */</p>
<hr />
<div>== Débuter ==<br />
Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', comme affiché ci-dessous :<br />
<br />
[[Image:NewBattle.png|Starting a new battle by selecting New in the Battle menu]]<br />
<br />
La fenêtre '''New Battle''' s'affiche, à partir de laquelle on choisit les robots et les options d'une bataille. Pour cette bataille, nous allons essayer avec les robots MyFirstRobot, RamFire, et Tracker. On les ajoute en double-cliquant sur leur nom respectif (ou en sélectionnant chacun et cliquer sur '''Add'''). La fenêtre devrait apparaitre ainsi :<br />
[[Image:NewBattleDialog.png|Shows the New Battle dialog where the user can select which robots to add to a new battle]]<br />
<br />
Voyez vous le champs '''Number of Rounds''' au milieu ?<br />
<br />
Dans Robocode, chaque bataille est constituée par un nombre de manches, comme vous allez le voir bientôt. Pour l'instant, nous allons le laisser à sa valeur par défaut de 10. <br />
<br />
Enfin, cliquez sur le bouton '''Start Battle''' pour commencer ! Regardez la petite danse de Tracker quand il gagne une manche.</div>Gsd06http://robowiki.net/w/index.php?title=Robocode_Basics/fr&diff=17970Robocode Basics/fr2010-12-22T23:30:59Z<p>Gsd06: /* Démarrer */</p>
<hr />
<div>== Débuter ==<br />
Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', comme affiché ci-dessous :<br />
<br />
[[Image:NewBattle.png|Starting a new battle by selecting New in the Battle menu]]<br />
<br />
La fenêtre New Battle s'affiche, à partir de laquelle on choisit les robots et les options d'une bataille. Pour cette bataille, nous allons essayer avec les robots MyFirstRobot, RamFire, et Tracker. On les ajoute en double-cliquant sur leur nom respectif (ou en sélectionnant chacun et cliquer sur '''Add'''). La fenêtre devrait apparaitre ainsi :<br />
[[Image:NewBattleDialog.png|Shows the New Battle dialog where the user can select which robots to add to a new battle]]<br />
<br />
Voyez vous le champs '''Number of Rounds''' au milieu ?<br />
<br />
Dans Robocode, chaque bataille est constituée par un nombre de manches, comme vous allez le voir bientôt. Pour l'instant, nous allons le laisser à sa valeur par défaut de 10. <br />
<br />
Enfin, cliquez sur le bouton '''Start Battle''' pour commencer ! Regardez la petite danse de Tracker quand il gagne une manche.</div>Gsd06http://robowiki.net/w/index.php?title=Robocode_Basics/fr&diff=17969Robocode Basics/fr2010-12-22T23:11:01Z<p>Gsd06: Created page with '== Démarrer == Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', com…'</p>
<hr />
<div>== Démarrer ==<br />
Après avoir effectuer l'installation, lançons une bataille afin de voir à quoi ressemble le jeu. Cliquez sur le menu '''Battle''', sélectionner '''New''', comme affiché ci-dessous :<br />
<br />
[[Image:NewBattle.png|Starting a new battle by selecting New in the Battle menu]]<br />
<br />
La fenêtre New Battle s'affiche, à partir de laquelle on choisit les robots et les options d'une bataille. Pour cette bataille, nous allons essayer avec les robots MyFirstRobot, RamFire, et Tracker. On les ajoute en double-cliquant sur leur nom respectif (ou en sélectionnant chacun et cliquer sur '''Add'''). La fenêtre devrait apparaitre ainsi :<br />
[[Image:NewBattleDialog.png|Shows the New Battle dialog where the user can select which robots to add to a new battle]]<br />
<br />
Voyez vous le champs '''Number of Rounds''' au milieu ?<br />
<br />
Dans Robocode, chaque bataille est constituée par un nombre de manches, comme vous allez le voir bientôt. Pour l'instant, nous allons le laisser à sa valeur par défaut de 10. <br />
<br />
Enfin, cliquez sur le bouton '''Start Battle''' pour commencer ! Regardez la petite danse de Tracker quand il gagne une manche.</div>Gsd06http://robowiki.net/w/index.php?title=Robowiki:Sandbox&diff=17968Robowiki:Sandbox2010-12-22T22:31:17Z<p>Gsd06: </p>
<hr />
<div>Hi, I'm testing this sandbox and offer to create French pages but I don't find how to do ;-( [--[[User:Gsd06|Gsd06]] 22:31, 22 December 2010 (UTC)GSD06]<br />
<br />
This is [[AaronR]]'s new wiki-bot. It is in development. It is currently being tested to see if the basic read-write stuff works. -- [[AaronR Bots]]<br />
<br />
Testing appending to the end of an article. -- [[AaronR Bots]]<br />
<br />
AaronR the appending to the end worked, just testing my signature now :) --[[Starrynte]] 22:36, 18 November 2007 (UTC)<br />
<br />
Hey, this is a sandbox, but I'm afraid that my kids are not old enough to use it yet. (Testing signature) ;P [[User:GrubbmGait|GrubbmGait]] 23:34, 28 November 2007 (UTC)<br />
<br />
What does "testing signature" mean? Hmm ... nice to have a sandbox ... Ah, there, I found the "edit bar". Man, that thing is sweet. --[[User:Simonton|Simonton]] 02:49, 29 November 2007 (UTC)<br />
<br />
Hem hem....just testing. --[[User:Skilgannon|Skilgannon]] 08:14, 23 December 2007 (UTC)<br />
<br />
Testing my new signature, copied from my Wikipedia account. Making sure it looks right in different character sets. « [[User:AaronR|AaronR]] « [[User talk:AaronR|Talk]] « 21:07, 13 January 2008 (UTC)<br />
<br />
Pee! There. Now I've officially peed in your sandbox. -- [[User:Pedersen|Martin]]<br />
<br />
Testing signature... -- [[User:Nfwu|<font color="#3B9C9C">Ketsu</font>]][[User Talk:Nfwu|<font color="#F87217">Nfwu</font>]]<br />
<br />
Testing same, this is neat. -- [[User:Synapse|<font style="font-size:0.8em;color:darkgreen;font-variant:small-caps;">Synapse</font>]]<br />
<br />
Testing, too. Borrow some idea from AaronR &raquo; <span style="font-size:0.9emcolor:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 14:20, 4 February 2009 (UTC)<br />
<br />
Test some pipe trick: [[GuessFactor Targeting (traditional)|GuessFactor Targeting]] &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 01:44, 17 March 2009 (UTC)<br />
<br />
Now reverse pipe trick: [[GuessFactor Targeting]] &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 01:50, 17 March 2009 (UTC)<br />
<br />
Test new signature... &raquo; [[User:Nat|<span style="color:green;font-family:monospace;font-size:120%">Nat Pavasant</span>]]<sup>([[User talk:Nat|<span style="color:red;font-size:7pt;">onMessageReceived()</span>]])</sup> &raquo; 06:20, 20 September 2009 (UTC)<br />
<br />
<table cellspacing="0" style="border:1px solid #aaa; width:100%; margin:auto; clear:both; font-size:88%; text-align:center; padding:2px; background:#fdfdfd;"><tr><td style="padding:2px;"><br />
<table cellspacing="0" class="nowraplinks ;;"><br />
<tr><th style="text-align:center; padding-left:1em; padding-right:1em; background:#ccccff; background:#ddddff;;TITLESTYLENOOB" colspan=3><br />
<div style="float:left; width:6em;text-align:left;">&nbsp;</div><br />
<span style="font-size:110%;">[[LOL]]</span><br />
</th></tr><br />
<tr style="height:2px;"><td></td></tr><br />
<tr><td style="text-align:center; padding-left:1em; padding-right:1em; background:#ddddff; background:#e6e6ff;;" colspan="3">ABOVETEXT</td></tr><br />
<tr style="height:2px;"><td></td></tr><br />
<tr><br />
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em; background:#ddddff; background:#e6e6ff;;GROUPSTYLENOOB;">Group A</td><br />
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px; background:transparent;;;" class="navbox-list navbox-odd"><br />
<div style="padding:0em 0.25em">[[Something]]{{dot}}[[Something else]]</div><br />
</td><br />
<td style="width:0%;padding:0px 0px 0px 2px;" rowspan=3>[[Image:Wikiquote-logo.png]]</td><br />
</tr><br />
<!-----Remaining groups/lists-----><br />
<tr style="height:2px"><td></td></tr><br />
<tr><br />
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em; background:#ddddff; background:#e6e6ff;;GROUPSTYLENOOB;">Group B</td><br />
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px; background:#f7f7f7;;;" class="navbox-list navbox-even"><br />
<div style="padding:0em 0.25em">[[WTF]]{{dot}}[[OMG]]</div><br />
</td><br />
</tr><br />
<tr style="height:2px"><td></td></tr><br />
<tr><br />
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em; background:#ddddff; background:#e6e6ff;;GROUPSTYLENOOB;">Group B</td><br />
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px; background:transparent;;;" class="navbox-list navbox-even"><br />
<div style="padding:0em 0.25em">[[WTF]]{{dot}}[[OMG]]</div><br />
</td><br />
</tr><br />
<!-----Below-----><br />
<tr style="height:2px;"><td></td></tr><br />
<tr><td style="text-align:center; padding-left:1em; padding-right:1em; background:#ddddff; background:#e6e6ff;" colspan="3">BELOWTEXT</td></tr><br />
</table><br />
</td></tr></table><br />
Testing NavBox Template -- [[User:Nfwu|<font color="#3B9C9C">Ketsu</font>]][[User Talk:Nfwu|<font color="#F87217">Nfwu</font>]] 03:37, 21 September 2008 (UTC)<br />
<br />
testing signature ;) --<font style="font-family:helvetica,arial,sans-serif;font-size:85%;">[[User:Exauge|Exauge]]»[[User talk:Exauge|talk]]</font> 04:24, 3 June 2010 (UTC)<br />
== Testing ==<br />
Test appending text to articles (Nat's bot first test) [[User:Robobot|Robobot]] 04:00, 21 May 2009 (UTC)<br />
<br />
Test appending text to section [[User:Robobot|Robobot]] 04:06, 21 May 2009 (UTC)</div>Gsd06