Pokémon stat tool for the Amazon Alexa, using the Alexa Skills Kit. https://serebii.io/pokestat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luiserebii 72dc217002
Adding LGTM badges
4 months ago
src/main/java/pokestat Cleaned up some of the unnecessary files. 3 years ago
target Cleaned up some of the unnecessary files. 3 years ago
LICENSE Create LICENSE 1 year ago
README.md Adding LGTM badges 4 months ago
pom.xml Updated pom.xml to fix org.eclipse.jetty jetty-server vulnerability. No idea if it'll still work afterwards lol, but I imagine it should 1 year ago

README.md

PokéStat

Total alerts

PokéStat is an app designed for any product supporting Amazon Alexa, which can provide any Pokémon’s base stats on demand, including alternate forms, Mega Evolutions, and Primal Reversions! Simply call the app through a phrase like, “Alexa, open PokéStat” and quickly gain access to valuable stat information. PokéStat is written using the Amazon Alexa Skills Kit (ASK) and Java for the AWS Lambda backend.




Functionality

PokéStat accepts phrases such as:

  • “What are Mega Mewtwo Y’s base stats?”
  • “What are the base stats of Primal Kyogre?”
  • “What base stats does Dragonite have?”

To end PokéStat, just use any of Alexa’s default closing or end phrases. Alternatively, PokéStat has the in-built phrases:

  • “Thank you.”
  • “Thank you, PokéStat.”
  • “That’s enough, PokéStat.” which will also trigger its end.

File Structure

The file structure is primarily based on the ASK example folder and Maven build structure.

  • src/main/java/pokestat: Holds the source files for the project.

    • speechAssets: Contains the IntentSchema, utterances file, and slot type information.
  • target: Contains the exports of the Maven build, including .jars

  • pom.xml: Simply the Maven pom.xml, build information

Building

Navigate to the main directory, /pokestat, and run:

$ mvn assembly:assembly -DdescriptorId=jar-with-dependencies package


Future Implementation

  • Adding ability to prompt PokéStat for specific stats (e.g. “What is Vaporeon’s base HP stat?”)
  • Pokemon stat analysis function, giving the user a specific Pokémon’s stronger stats, its weaker ones, and giving a short analysis on what the user should do if facing the Pokemon.

Appendix

A. Pokéapi - Great RESTful Pokémon API, utilized when constructed the database file this application uses: http://pokeapi.co/

B. Creating a .jar Deployment Package Using Maven - Just as the title says, may help give better idea of file structure: https://docs.aws.amazon.com/lambda/latest/dg/java-create-jar-pkg-maven-no-ide.html

C. Echosim.io - Useful Alexa testing tool: https://echosim.io/

Credits

Website: http://serebii.io/pokestat/