Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Amoebas
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
EDAA40
Amoebas
Commits
1c8a14b4
Commit
1c8a14b4
authored
Mar 27, 2020
by
Jorn W. Janneck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added template for qualifying competition
parent
bdb1df95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
src/amoebas/competition2020/tournament.clj
src/amoebas/competition2020/tournament.clj
+39
-0
No files found.
src/amoebas/competition2020/tournament.clj
0 → 100644
View file @
1c8a14b4
(
ns
amoebas.competition2020.tournament
(
:use
amoebas.defs
amoebas.simulation
amoebas.display
amoebas.util
amoebas.run
amoebas.examples
clojure.set
)
;; (:require
;; make sure you add the package in which you define your Evam:
;;
;; yourname.core
;; )
)
;;
;; Qualifying tournament
;;
(
def
SpeciesColors
{
:md
(
Color
:blue
)
:sb
(
Color
:orange
)
:msb
(
Color
:cyan
)
;; add a color for your species
;;
;; :mybug (Color :red)
}
)
(
def
T
(
tournament
{
:md
(
create-mindless-divider
0.3
)
:sb
(
create-slightlybrainy
10
70
most-energy-target-selector
)
:msb
(
create-mutating-slightlybrainy
10
70
most-energy-target-selector
0.3
1
)
;; insert your species here:
;; :mybug yourname.core/Evam
}
SpeciesColors
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment