Skip to content

d9w/DotaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotaBot

A submission in the 2020 GECCO Dota 2 Competition

We used CGP and NEAT to evolve agents for Dota 2 1v1 laning. Our evolutionary code is here and an article explaining our approach is here.

Installation

The requirements for this bot are the Project Breezy requirements and the Julia language. From the Julia package manager, first install the NEAT and CGP dependendies:

pkg> add https://github.com/d9w/NEAT.jl
pkg> add https://github.com/d9w/CartesianGeneticProgramming.jl

then the DotaBot can be installed. The recommended method is to clone the repository to a specific directory, where scripts can be launched, and then use Julia to add the local repository.

$ git clone https://github.com/d9w/DotaBot
$ cd DotaBot.jl
$ julia
pkg> develop .

These instructions are written in Linux format but work equally in Windows. For Windows Julia installations, the Juno add-on for Atom is recommended, which easily enables editing and calling Julia scripts.

Agents

This repository comes with the genes of multiple best individuals from evolution. The submission individual is models/best_cgp.dna and can be run using the cgp_agent.jl script:

$ julia agents/cgp_agent.jl

Other individual files can be provided with

$ julia agents/cgp_agent.jl --ind models/cgp2.dna

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages