Giter Site home page Giter Site logo

SGGame AI TODO: about wavelength HOT 3 OPEN

DeathlyPlays avatar DeathlyPlays commented on May 25, 2024
SGGame AI TODO:

from wavelength.

Comments (3)

HoeenCoder avatar HoeenCoder commented on May 25, 2024 1

Heres a layout of what I want:
The AI should support multiple skill levels which should be denoted by a number input between 0 and 5.
What each of the levels generally mean is outlines here:

0: (Wild Pokemon/Very Basic Trainer) Randomly selects a move out of its movepool, only switches if its active pokemon is KOed, randomly picks what pokemon to switch to out of the non-KOed choices.
(1-5 build on each other, ex: 3 has the abilities listed in 1, 2, and 3)
1: Base. Uses moves that cause damage over anything else. Its random which one they will use out of their movepool. 
2: Uses status/boosting moves as well now. (Wont attempt to apply a status the foe has already). Avoids moves that the foe is immune to.
3: Handles combo moves (sleep/dream eater, stockpile/split up), Avoids moves that the foe is resistant to as well. Will switch out if the matchup is bad for the AI.
4: Will switch out if there is a good oppritunity. Perfers super effective moves. Takes into account the players actions (see bellow).
5: When attacking, prefers moves with a higher estimated damage (taking effectiveness into account). This AI's pokemon will not be able to 2HKO the foe, and can boost to make it possible, it will do so.

This is subject to change as possible improvements come up. The COM should not be looking at the players choice or other info it does not have access to. It can look at moves the player has used/it has been notified about (ex: forewarn) when making a decision though at level 4 or higher.

from wavelength.

HoeenCoder avatar HoeenCoder commented on May 25, 2024

More like: complete rewrite

from wavelength.

DeathlyPlays avatar DeathlyPlays commented on May 25, 2024

LOL

from wavelength.

Related Issues (18)

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.