Sha256: ed9342da4903e89222cd80197ffc24ad526df7b625a0e62564ee202eee33e402

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

= Installation

== Download

UG_RRobots could be download from the URL :

http://www.ultragreen.net/projects/rrobots/files

You could choose the Gem file or the TGZ fiile if you want to modify the project before to install it.
Files are sort by release
 
== Gem or Package creation

*Info* : this step is mandatory only if you choose to download TGZ sources

Exemple version 2.1 :

  $  wget http://www.ultragreen.net/attachments/download/51/UG_RRobots-2.1.tgz
  $ tar xvzf G_RRobots-2.1.tgz
  $ cd UG_RRobots-2.1/
  $ rake clean
  $ rake clobber
  $ rake gem 
  $ rake package # pour refaire le tgz 

Gemfile or TGZ source are under the pkg Folder

If you create your gem, please do :

  $ cd pkg

otherwise

  $ wget http://www.ultragreen.net/attachments/download/52/UG_RRobots-2.1.gem

== Gem Installation 

You should be root

  $ sudo bash
  # gem install UG_RRobots-2.1.gem

deinstallation :

  $ sudo bash
  # gem uninstall UG_RRobots

== Configuration

=== Config File Format

YAML file : rrobots.yaml

  battlefield: 
   width: 800
   height: 800
  bullets: 
   speed: 30
  filename: rrobots.yml
  game: 
   timeout: 50000
  mines: 
   with_mines: false
   bullet_energy_resistance: 2
   energy_hit_points: 20
  robots: 
   nb_mines: 3
   radar_mine_scanning_performance: 500
   energy_max: 100
  toolboxes: 
   energy_heal_points: 20
   life_time: 200
   with_toolboxes: false
   spawning_chances: 100


=== Config file reading order and priority

in this order

* Code builtin values
* GEM_PATH/config/rrobots.yml (merge)
* PATH ('.') unless you have the -ignore-config for the rrobots command

the -argument -write-config create a clone of the configuration in PATH ('.') also named rrobots.yml 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
UG_RRobots-2.1 doc/install.rdoc