pokenalysis

command module
v0.0.0-...-1b87482 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2018 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

pokenalysis

Pokenalysis Logo Artwork by Miguel Arana

Command-line tool that computes statistics about Pokemon video game series data. Things computed:

  • Ocurrance of Types
  • How many pokemon is a Type super-effective against?
  • Ratio of pokemons a Type is good against vs bad against.
  • Best Move Set for any given pokemon.

All these statistics can be computed on any combination of pokemon generations and results can be sorted in any direction.

I built this project to learn Go.

Design

We use PokeApi's data.

The first time the tool is run, it will download the data concurrently to a temporary folder. Subsequent runs will read from local folder.

The commands compute data on the fly, some use as many processors as possible.

Usage

pokenalysis -command=<command> -gens=<gens> -sort=<sort>

  • command: (string) one of either 'histo', 'superhisto', 'goodratio', 'bestpoke'
  • gens: (string) comma-separated list of ints from 1 - 7. e.g. 1,2,5,6
  • sort: (int) -1, 0 or 1.
Future Work:
  • Sql CLI for Pokemon. Full with query parser, executor, ext...
  • Make simulation be able to run in multiple machines. Use network to implement a PAXOS-kind of protocol and make distributed system self-healing.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址