GithubHelp home page GithubHelp logo

pastra98 / neat_for_godot Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 7.0 4.34 MB

An implementation of Kenneth O. Stanley's NEAT Algorithm for the Godot game engine, written in gdscript.

License: MIT License

GDScript 99.77% Shell 0.23%
godot neat neuroevolution

neat_for_godot's Introduction

NEAT for Godot

An implementation of Kenneth O. Stanley's NEAT Algorithm for the Godot game engine, written in gdscript. This code is intended to be easily applicable to godot projects where the programmer wants to use neural networks to control agents.

Tested for godot 3.2.2

How can I use this for my project?

I have created a wiki with lot's of information on how NEAT works, and details about this implementation. If you want to dive straight into implementing this yourself, refer to the first page of the wiki.

I just want to run the demos!

If you are not already using godot, I strongly recommend giving it a try, the download page is here. The binary is tiny (~61 mb) and a portable install. It includes everything needed to run/edit the demos, or even making your own games. Just import the project.godot file, and it should work.

However I have compiled binaries (the windows one is currently bugged, will fix this soon), which you can find here, though I sincerely recommend running it in the editor for the reasons listed in the release.

credits

The NEAT algorithm was originally conceived by Kenneth O. Stanley.

Matt Buckland's AI Techniques for Game Programming inspired me to undertake this project, and the c++ snippets included in the NEAT chapter were a great resource for starting off.

The font used in this project is google's roboto

And of course special thanks to the godot project and all it's contributors.

graphics

  • Car sprites were made by the user unlucky studio on opengameart - link

  • The explosion spritesheet used in the car and lander demo was made by JRob774 on opengameart - link

  • The moon texture was made by Murilo's Game Art - link

  • The brain used in the projects logo was made by an unknown user on pixelartmaker - link

script

  • The car script is based off Ivan Skodje's 2d vehicle controller project - link

Every other asset was made by myself

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.