Git Product home page Git Product logo

Comments (1)

ry-lu avatar ry-lu commented on September 24, 2024

The file genetic.py is not meant to be run and is only used to import. Only train.py and simulate.py can be run. The json/building plan created and printed in simulate.py can be used to implement the AI in-game at your discretion, whether it be through mods or hotkeys.

In the video, a BTD6 mod is used to allow quick and easy actions. Map data such as in-game map points and possible monkey placements can be easily retrieved through a mod and communicated to a server to run simulate.py.

It is possible to place the monkeys through hotkeys but adjustments would need to be made to gather the map data to run simulate.py. If you find a way to make hotkeys/keyboard bindings play BTD6 with the simulation results, feel free to fork and contribute to the project!

from btd6-ai.

Related Issues (1)

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.