Action attack_dir(): Implement, trivially random now

This commit is contained in:
Petr Baudis 2011-11-27 04:10:53 +01:00
parent 0398856635
commit 0c29808836
5 changed files with 36 additions and 0 deletions

View file

@ -4,6 +4,8 @@
struct world {
const static int newborn_energy = 500;
const static int move_cost = -10;
const static int attack_cost = -40;
const static int defense_cost = -20;
const static int sun_energy = 1;
const static int dead_body_energy = 500;