comparison README @ 42:0644b53fd3af

updated documents
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 17 Oct 2008 01:33:52 +0800
parents 5849b6fdc76c
children 1dbb3e3c8691
comparison
equal deleted inserted replaced
41:5849b6fdc76c 42:0644b53fd3af
1 http://www.assembla.com/spaces/eagle-eye 1 http://www.assembla.com/spaces/eagle-eye
2 2
3 = Files = 3 = Files =
4 4
5 Ikariam.pm - Basic modules for collectoin information from web, and the web access/submit functions will be also implemented. 5 Ikariam.pm - Basic modules for collectoin information from web, and the web access/submit functions will be also implemented.
6
7 ally.pl - list all the cities which owned by an ally.
8 enemy.pl - list all the islands and scores the enemy have.
9 freeland.pl - find the available place we can build the city.
10 inactive-map.pl - finding the sheep and list them in a map.
11 inference.pl - a simple proof-of-concept of decision making robot.
12 scan.pl - scan the islands and cities by coordinate or default world view.
13 scores.pl - scan and update the scores of accounts.
14 sheep.pl - find the sheep to kill, takes coordinate or default world view.
15
16 = HOWTO =
17 * Create the sqlite3 database 'ikariam.sqlite' first, based on ikariam.sql
18 * Create the config file, at ${HOME}/.eagleeye.pm. The file content are
19 package main;
20
21 $::server = 's2.ikariam.tw';
22 $::user = "chihchun";
23 $::pass = "YOUKNOW";
24
25 1;
26
27 * Run the bot, 'perl inference.pl'
28 * Update the islands by runing 'perl scan.pl'
29 * List sheeps, 'perl sheep.pl'
30