Comments (3)
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.
More like: complete rewrite
from wavelength.
LOL
from wavelength.
Related Issues (18)
- Polls: Rename Interaction HOT 1
- SGgame Branch: Crash HOT 3
- Global Leader Bug HOT 3
- Idea: Show Faction & Level in profile HOT 4
- Dice Log HOT 1
- SGgame (Alpha 2.0) Bug Tracker HOT 3
- The future of the "WL" global utility variable HOT 4
- Refactor and re-add existing formats HOT 3
- Chat Plugins Refactor HOT 5
- The SSBFFA revamp HOT 4
- Achievements
- Update Super Staff Bros. HOT 4
- SGgame bug master list HOT 10
- TODO HOT 1
- Battles randomly Crash HOT 6
- SGgame - Reimplement Type Script HOT 7
- SGgame - USUM Pokemon Catch Rates & Base EXP values HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wavelength.