Commit 0c6b01df authored by Jorn W. Janneck's avatar Jorn W. Janneck

comments

parent d3858702
(ns amoebas.defs)
;;
;; these definitions represent the basic constants of the
;; world the amoebas live in, including the amoebas themselves
;;
;;;; the world
(def WorldSize 200)
(def SunEnergy 1)
(def SunEnergy 1) ;; amount of energy to add to empty cells after each round
(def MaxCellEnergy 100)
(def MaxCellEnergy 100) ;; max amount of fuel energy available in a cell
(def ViewDistance 3)
(def ViewDistance 3) ;; max distance of viewable cell (max norm)
;;;; amoeba energy
(def MaxAmoebaEnergy 100)
(def MaxAmoebaEnergy 100) ;; maximum energy an individual amoeba can store
(def RestEnergy 1)
(def RestEnergy 1) ;; energy cost of rest action
(def MoveEnergy 3)
(def MoveEnergy 3) ;; energy cost of move action
(def AttackEnergy 10)
(def AttackEnergy 10) ;; energy cost of hit action
(def MaxFuelingEnergy 10)
(def MaxFuelingEnergy 10) ;; max fuel uptake when resting
(def MinDivideEnergy 30)
(def MinDivideEnergy 30) ;; min energy required before division
(def DivideEnergyLoss 20)
(def DivideEnergyLoss 20) ;; energy cost of division
;;;; amoeba health
(def MaxAmoebaHealth 10)
(def MaxAmoebaHealth 10) ;; max health of an amoeba
(def HitLoss 4)
(def HitLoss 4) ;; health loss when injured by a hit
(def RecoveryGain 1)
(def RecoveryGain 1) ;; health gain when resting
......
#Leiningen
#Fri Mar 22 13:48:43 CET 2019
#Tue Mar 26 18:39:56 CET 2019
groupId=amoebas
artifactId=amoebas
version=0.1.0-SNAPSHOT
revision=d3858702b660d093395ac69bc0dcbd41c8aa4562\n
38447
\ No newline at end of file
36161
\ No newline at end of file
[{:dependencies {org.clojure/clojure {:vsn "1.8.0", :native-prefix nil}, org.clojure/data.csv {:vsn "0.1.4", :native-prefix nil}, nrepl {:vsn "0.5.3", :native-prefix nil}, nrepl/bencode {:vsn "1.0.0", :native-prefix nil}, clojure-complete {:vsn "0.2.5", :native-prefix nil}}, :native-path "target/native"} {:native-path "target/native", :dependencies {org.clojure/clojure {:vsn "1.8.0", :native-prefix nil, :native? false}, clojure-complete {:vsn "0.2.5", :native-prefix nil, :native? false}, org.clojure/data.csv {:vsn "0.1.4", :native-prefix nil, :native? false}, nrepl {:vsn "0.5.3", :native-prefix nil, :native? false}, nrepl/bencode {:vsn "1.0.0", :native-prefix nil, :native? false}}}]
\ No newline at end of file
[{:dependencies {org.clojure/clojure {:vsn "1.8.0", :native-prefix nil}, org.clojure/data.csv {:vsn "0.1.4", :native-prefix nil}, org.clojure/tools.nrepl {:vsn "0.2.12", :native-prefix nil}, clojure-complete {:vsn "0.2.4", :native-prefix nil}}, :native-path "target/native"} {:native-path "target/native", :dependencies {org.clojure/clojure {:vsn "1.8.0", :native-prefix nil, :native? false}, clojure-complete {:vsn "0.2.4", :native-prefix nil, :native? false}, org.clojure/data.csv {:vsn "0.1.4", :native-prefix nil, :native? false}, org.clojure/tools.nrepl {:vsn "0.2.12", :native-prefix nil, :native? false}}}]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment