Scalatron

Aus Hacksaar Wiki
Zur Navigation springen Zur Suche springen

scalatron

-world

 -finite cell grid
 -toroidally wrapped world
 -one element per cell
 -1 master bot per player, n mini-bot


-bots

 -haben energy units, (eu)
 -in jeder runde (ein game hat zb 5000 runden) wird für jeden robot eine callback fct ausgeführt
 -parameter sind: inhalte von z.b 15 zellen radius, wobei der bot immer im zentrum ist
 -custom-states können per set() auf dem gameserver gespeichert werden
 -master und mini-bot können mini-bots spawnen
 -mini-bot weiss, wo sein master-bot ist und kann wiederaufgenommen werden, transferiert eu's
 -mini-bot kann eu's in explosion umwandeln, blast radius 2-10 cells, energieverteilung entsprechend

             masterbot vs  minibot
 view-rad    15 cells      10 cells
 spawn cost  -             100 eu
 eu 2 live   0             1 eu / 4 cycles


-beasts

 -blau: fluppets
   -200 eu bonus on collision
   -slower than bots
   -number is constant
   -avoiding strategy
   -sense bots, sensory distance depends on current EU-level of bot. radius 6-80 cells
 -red: snorgs
   -150 eu malus on collision
   -slower than bots
   -number is constant
   -hunting strategy
   -after 7 "bites", snorgs die
   -sense bots, sensory distance depends on current EU-level of bot. radius 6-80 cells
   
 -green: zugars
   -100 eu bonus on collision
   -number is constant
   -stationary
 -yellowish: toxifera
   -100 eu malus on collision
   -stationary

-walls: 10 eu malus and stun for 4 cycles on collision

-collisions: non deterministic for player who collides

-surrounding?

 -1D array
 “?” cell whose content is occluded by a wall
 “_” empty cell
 “W” wall
 “M” Bot (=master; yours, always in the center unless seen by a slave)
 “m” Bot (=master; enemy, not you)
 “S” Mini-bot (=slave, yours)
 “s” Mini-bot (=slave; enemy's, not yours)
 “P” Zugar (=good plant, food)
 “p” Toxifera (=bad plant, poisonous)
 “B” Fluppet (=good beast, food)
 “b” Snorg (=bad beast, predator)