Giter Club home page Giter Club logo

dotabot's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.