Code Monkey home page Code Monkey logo

eldenringai's Introduction

AI Fights the Tree Sentinel

The goal of this project is to use reinforcement learning techniques to create a bot capable of defeating the first Tree Sentinel from Elden Ring.

Description

The bot uses a custom OpenAI gym environment. The observation the bot gets for input is a 800x450 pixel image frame connected to a capture card capturing the ELDEN RING gameplay. The bot engages in a loop started by returning to the grace site closests to the Tree Sentinel. From there the bot is manually moved closer to the Tree Sentinel. Once the bot is in place the agent takes over and begins attempting to fight the Tree Sentinel. If the bot wanders away and never interacts with the Tree Sentinel is is punished and automatically returns to the grace site after two minutes. The bot is punished for taking damage and dying (dying is a better reward than wandering away and auto returing to grace). The bot is given a consistent rewarded based on the current hp of the boss, this reward is increased linearly as the boss hp goes closer to 0. The bot also gets an instantanous reward for doing damage to the boss. The bot is rewarded for finding the boss, and rewarded for staying alive while fighting the boss.

Lauch Elden Ring Offline

https://www.reddit.com/r/linux_gaming/comments/t0p7hq/fix_for_elden_ring_to_play_in_offline_mode/

Watch it live

IMAGE ALT TEXT HERE

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.