A random web-based Pokémon team generator using Smogon tiers.
Get the dependencies with
pip3 install -r requirements.txt. Run
./grabdata.sh to get the required JSON files from the Pokémon Showdown
repository. You also need a locally-hosted Redis server with no authentication
on the default port (or edit app.py to add login info.) Once you have both of
these things, you can run the app using your favorite Python WSGI server, or
flask run to use the Flask development server.
Add more generator options and make an actual algorithm to generate teams with specific point totals more efficiently than lazy brute-forcing.
Copyright 2021 Benjamin Lowry
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.