mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-03 02:13:35 +02:00
Action attack_dir(): Implement, trivially random now
This commit is contained in:
parent
0398856635
commit
0c29808836
5 changed files with 36 additions and 0 deletions
2
world.h
2
world.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue