UG_RRobots 2.1 → 2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/doc/install.rdoc +22 -6
- data/doc/install_fr.rdoc +23 -6
- data/doc/manual.rdoc +18 -1
- data/doc/manual_fr.rdoc +9 -0
- data/doc/usage.rdoc +4 -1
- data/doc/usage_fr.rdoc +5 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ require "rake/rdoctask"
|
|
8
8
|
|
9
9
|
spec = Gem::Specification.new do |s|
|
10
10
|
s.name = "UG_RRobots"
|
11
|
-
s.version = "2.
|
11
|
+
s.version = "2.2"
|
12
12
|
s.author = "Simon Kröger, Romain GEORGES"
|
13
13
|
s.email = "dev@ultragreen.net"
|
14
14
|
s.homepage = "http://www.ultragreen.net/projects/rrobots"
|
data/doc/install.rdoc
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
= Installation
|
2
2
|
|
3
|
+
== The speed Way
|
4
|
+
|
5
|
+
Get it from GemCutter
|
6
|
+
|
7
|
+
if you are not GemGutter
|
8
|
+
|
9
|
+
$ sudo bash
|
10
|
+
# gem ins gemcutter
|
11
|
+
# gem tumble
|
12
|
+
|
13
|
+
Install UG_RRobots
|
14
|
+
|
15
|
+
# gem ins UG_RRobots
|
16
|
+
|
17
|
+
That's all folk !
|
18
|
+
|
3
19
|
== Download
|
4
20
|
|
5
21
|
UG_RRobots could be download from the URL :
|
@@ -13,11 +29,11 @@ Files are sort by release
|
|
13
29
|
|
14
30
|
*Info* : this step is mandatory only if you choose to download TGZ sources
|
15
31
|
|
16
|
-
Exemple version 2.
|
32
|
+
Exemple version 2.2 :
|
17
33
|
|
18
|
-
$ wget http://www.ultragreen.net/attachments/download/51/UG_RRobots-2.
|
19
|
-
$ tar xvzf G_RRobots-2.
|
20
|
-
$ cd UG_RRobots-2.
|
34
|
+
$ wget http://www.ultragreen.net/attachments/download/51/UG_RRobots-2.2.tgz
|
35
|
+
$ tar xvzf G_RRobots-2.2.tgz
|
36
|
+
$ cd UG_RRobots-2.2/
|
21
37
|
$ rake clean
|
22
38
|
$ rake clobber
|
23
39
|
$ rake gem
|
@@ -31,14 +47,14 @@ If you create your gem, please do :
|
|
31
47
|
|
32
48
|
otherwise
|
33
49
|
|
34
|
-
$ wget http://www.ultragreen.net/attachments/download/52/UG_RRobots-2.
|
50
|
+
$ wget http://www.ultragreen.net/attachments/download/52/UG_RRobots-2.2.gem
|
35
51
|
|
36
52
|
== Gem Installation
|
37
53
|
|
38
54
|
You should be root
|
39
55
|
|
40
56
|
$ sudo bash
|
41
|
-
# gem install UG_RRobots-2.
|
57
|
+
# gem install UG_RRobots-2.2.gem
|
42
58
|
|
43
59
|
deinstallation :
|
44
60
|
|
data/doc/install_fr.rdoc
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
= Installation
|
2
2
|
|
3
|
+
== La méthode express
|
4
|
+
|
5
|
+
Installation depuis GemCutter
|
6
|
+
|
7
|
+
Si vous n'avez pas encore GemCutter
|
8
|
+
|
9
|
+
$ sudo bash
|
10
|
+
# gem ins gemcutter
|
11
|
+
# gem tumble
|
12
|
+
|
13
|
+
Installation de UG_RRobots
|
14
|
+
|
15
|
+
# gem ins UG_RRobots
|
16
|
+
|
17
|
+
That's all folk !
|
18
|
+
|
19
|
+
|
3
20
|
== Téléchargement
|
4
21
|
|
5
22
|
UG_RRobots peut se télécharger depuis :
|
@@ -13,11 +30,11 @@ Les fichiers sont classés par Release
|
|
13
30
|
|
14
31
|
*Remarque* : Cette étape n'est necessaire que si on choisit de télécharger les sources
|
15
32
|
|
16
|
-
Exemple version 2.
|
33
|
+
Exemple version 2.2 :
|
17
34
|
|
18
|
-
$ wget http://www.ultragreen.net/attachments/download/51/UG_RRobots-2.
|
19
|
-
$ tar xvzf G_RRobots-2.
|
20
|
-
$ cd UG_RRobots-2.
|
35
|
+
$ wget http://www.ultragreen.net/attachments/download/51/UG_RRobots-2.2.tgz
|
36
|
+
$ tar xvzf G_RRobots-2.2.tgz
|
37
|
+
$ cd UG_RRobots-2.2/
|
21
38
|
$ rake clean
|
22
39
|
$ rake clobber
|
23
40
|
$ rake gem
|
@@ -30,14 +47,14 @@ si vous installez depuis le gem fraîchement crée la partie wget du Rubygem est
|
|
30
47
|
|
31
48
|
sinon pour récupéré le gem
|
32
49
|
|
33
|
-
$ wget http://www.ultragreen.net/attachments/download/52/UG_RRobots-2.
|
50
|
+
$ wget http://www.ultragreen.net/attachments/download/52/UG_RRobots-2.2.gem
|
34
51
|
|
35
52
|
== Installation gem
|
36
53
|
|
37
54
|
On doit être root pour installer :
|
38
55
|
|
39
56
|
$ sudo bash
|
40
|
-
# gem install UG_RRobots-2.
|
57
|
+
# gem install UG_RRobots-2.2.gem
|
41
58
|
|
42
59
|
Pour désinstaller :
|
43
60
|
|
data/doc/manual.rdoc
CHANGED
@@ -1,4 +1,18 @@
|
|
1
|
-
= RRobots
|
1
|
+
= UG RRobots Fork
|
2
|
+
|
3
|
+
== Copyrights :
|
4
|
+
|
5
|
+
UG RRobots
|
6
|
+
Fork of RRobots project
|
7
|
+
RRobots Core (c) Simon Kröger
|
8
|
+
=> Ruby license (http://www.ruby-lang.org/en/LICENSE.txt).
|
9
|
+
Co-author Fork (c) Romain GEORGES
|
10
|
+
GOSU Engine (c) Albert Ramstedt
|
11
|
+
|
12
|
+
== Version
|
13
|
+
|
14
|
+
- UG RRobots Fork v1.0
|
15
|
+
- fork of RRobots v0.2.2
|
2
16
|
|
3
17
|
== Presentation
|
4
18
|
|
@@ -83,6 +97,9 @@ RRobots is implemented in pure ruby using a tk ui and should run on all
|
|
83
97
|
platforms that have ruby and tk. (until now it's tested on windows, OS X
|
84
98
|
and several linux distributions)
|
85
99
|
|
100
|
+
RRobots support an other GUI engine, GOSU
|
101
|
+
This engine offer best displays, musics and sounds
|
102
|
+
|
86
103
|
== Usage
|
87
104
|
|
88
105
|
:include:usage.rdoc
|
data/doc/manual_fr.rdoc
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
= UG RRobots Fork
|
2
2
|
|
3
|
+
== Copyrights :
|
4
|
+
|
5
|
+
UG RRobots
|
6
|
+
Fork du projet RRobots
|
7
|
+
RRobots Core (c) Simon Kröger
|
8
|
+
=> Ruby license (http://www.ruby-lang.org/en/LICENSE.txt).
|
9
|
+
Co-autheur Fork (c) Romain GEORGES
|
10
|
+
GOSU Engine (c) Albert Ramstedt
|
11
|
+
|
3
12
|
== Version
|
4
13
|
|
5
14
|
- UG RRobots Fork v1.0
|
data/doc/usage.rdoc
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
=== rrobots
|
2
2
|
|
3
|
-
USAGE: rrobots [resolution] [#match] [-nogui] [-speed=<N>] [-timeout=<N>] [-teams=<N>] [-with-toolboxes] [-with-mines] [-set-locale=<locale>]
|
3
|
+
USAGE: rrobots [resolution] [#match] [-nogui] [-speed=<N>] [-timeout=<N>] [-teams=<N>] [-with-toolboxes] [-with-mines] [-set-locale=<locale>] [-set-gui-engine=<engine>]
|
4
4
|
<FirstRobotClassName[.rb]> <SecondRobotClassName[.rb]> <...>
|
5
5
|
or : rrobots [-set-locale=<locale>] -list-internals
|
6
6
|
or : rrobots [-set-locale=<locale>] -list-locales
|
7
7
|
or : rrobots [-set-locale=<locale>] -manual
|
8
|
+
or : rrobots [-set-locale=<locale>] -list-gui-engines
|
8
9
|
or : rrobots [-set-locale=<locale>]
|
9
10
|
|
10
11
|
without arguments : give this usage page
|
@@ -23,6 +24,8 @@ without arguments : give this usage page
|
|
23
24
|
* [-list-locales] (exclusive) list avaible locale.
|
24
25
|
* [-manual] (exclusive) give the manual page of RRobots.
|
25
26
|
* [-with-mines] (optional) to accept the dropping of mines by the robots (default 3).
|
27
|
+
* [-set-gui-engine] (optional) force a GUI engine if avaible in engines list.
|
28
|
+
* [-list-gui-engines] (exclusive) list avaibles gui Engines.
|
26
29
|
|
27
30
|
|
28
31
|
|
data/doc/usage_fr.rdoc
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
=== rrobots
|
2
2
|
|
3
|
-
USAGE: rrobots [resolution] [#match] [-nogui] [-speed=<N>] [-timeout=<N>] [-teams=<N>] [-with-toolboxes] [-with-mines] [-set-locale=<locale>]
|
3
|
+
USAGE: rrobots [resolution] [#match] [-nogui] [-speed=<N>] [-timeout=<N>] [-teams=<N>] [-with-toolboxes] [-with-mines] [-set-locale=<locale>] [-set-gui-engine=<engine>]
|
4
4
|
<FirstRobotClassName[.rb]> <SecondRobotClassName[.rb]> <...>
|
5
5
|
ou : rrobots [-set-locale=<locale>] -list-internals
|
6
6
|
ou : rrobots [-set-locale=<locale>] -list-locales
|
7
|
+
ou : rrobots [-set-locale=<locale>] -list-gui-engines
|
7
8
|
ou : rrobots [-set-locale=<locale>] -manual
|
8
9
|
ou : rrobots [-set-locale=<locale>]
|
9
10
|
|
@@ -24,6 +25,9 @@ Sans arguments : donne cette page d'usage de la commande
|
|
24
25
|
* [-list-locales] (exclusif) liste les locales disponibles.
|
25
26
|
* [-manual] (exclusif) donne la page de manuel du projet RRobots
|
26
27
|
* [-with-mines] (optionel) accepte le dépôt de mines parl les robots (default 3).
|
28
|
+
* [-set-gui-engine] (optionel) force un moteur GUI si il existe dans la liste des moteurs disponibles.
|
29
|
+
* [-list-gui-engines] (exclusive) liste moteurs GUI disponibles.
|
30
|
+
|
27
31
|
|
28
32
|
Remarques :
|
29
33
|
* le fichier d'un robot doit avoir le même nom que la Classe du Robot
|