Code Monkey home page Code Monkey logo

rw-slugbrain's Introduction

RW-SlugBrain

WIP BepInEx plugin for Rain World that aims to automate slugcat. TAS tools (Tool-Assisted Slowrun).

The AI is roughly built around how the vanilla game handles AI, with various modules that handle different elements of survival, like food and prey tracking.
There is no machine learning involved, so progress between runs is dependent on development of the code and little bits of RNG here and there.
The pathfinding within rooms is done using a DIY A* algorithm.
The AI has some advantage over the typical new player because it can see food and threats in adjacent rooms, and has the Overseers' shelter knowledge, but this is probably less of an advantage than a player with 2+ completed runs (or just loads of time in the area) would have.

Current state

  • custom pathfinding implemented
  • basic jump pathing implemented
  • for some reason it still favours jumping over walking on some flat terrain
  • there are some quirks with the inputs it tries to use based on where it wants to go that still need to be ironed out
  • need to add more jump types (pouncing, etc.)
  • need to add threat tracking
  • I eventually want to add options to enable some TAS-only moves like wiggle flight :)

FAQ

Are you working with <x modder>?
Currently, no.

Isn't this similar to <x mod>?
Maybe. No mods have been publically released in the Rain World Discord or published to RainDB that do the same thing as SlugBrain. Yes, I know the slugpup mod exists.

Why don't you just make NPC slugcats?
I don't want to lol. The game playing itself seems weird? Okay.

rw-slugbrain's People

Contributors

casheww avatar

Stargazers

 avatar

Watchers

 avatar

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.