Giter Site home page Giter Site logo

simplifiedrimworldrl's Introduction

Simplified RimWorld Env for RL

Very simple implementation of RimWorld's mechanics in a gym env to train a reinforcement learning algorithm

  • A single deep Q learning algo learns how to kill enemies
  • The friends are allowed instant movement on a 10 by 10 grid
  • New enemy wave is spawned each time the last one is fully killed
  • At the start waves are 1 enemy, at the half mark it goes to 2
  • At the start the AI controls 1 actor, at the half mark it goes to 2
  • Shots are instants
  • There is a single box that provides cover

Rewards:

  • 1 per kill
  • -1 per actor that is killed
  • -0.0000002 for moving to an occupied spot
  • -0.0000002 for shooting an empty spot
  • -0.05 for not doing anything for 10 consecutive steps
  • +0.5 for killing all enemies in a round

Chat on Telegram

Graph

The half point decrease in scores is because the amount of initial enemies and actors are upped.

Thanks:


Become a patreon

simplifiedrimworldrl's People

Contributors

emmanuelmess avatar

Stargazers

Kadima Cleophas avatar Raúl avatar

Watchers

James Cloos avatar  avatar  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.