Code Monkey home page Code Monkey logo

Comments (9)

n2o avatar n2o commented on September 1, 2024 1

Sounds good! Thanks for your input

from pogo-cruncher.

Wegi avatar Wegi commented on September 1, 2024 1

@n2o changed it to accept a list in 9630fec

from pogo-cruncher.

jccwright avatar jccwright commented on September 1, 2024

Seconded

from pogo-cruncher.

greedseed avatar greedseed commented on September 1, 2024

A renaming function of any kind would already be great :D

from pogo-cruncher.

n2o avatar n2o commented on September 1, 2024

Yes, it is staged for the next big release

from pogo-cruncher.

n2o avatar n2o commented on September 1, 2024

Which schemes do you prefer?

  • AT!DF!ST
  • IV%
  • IV% AT/DF/ST
  • Name-of-Pokemon IV%
  • ...

from pogo-cruncher.

romulof avatar romulof commented on September 1, 2024

I'm manually renaming them using this pattern (python):
new_name = "%.0f%% %d/%d/%d" % (iv_perfection, iv_attack, iv_defense, iv_stamina)

That would result, for example:

  • 53% 7/10/2
  • 97% 14/15/15

But 100% 15/15/15 is bigger than maximum name allowed, so in case of perfection, I only rename to 100%.

from pogo-cruncher.

n2o avatar n2o commented on September 1, 2024

@Wegi: you'll get a list of Pokemon, which should be renamed. like:

[{"id": some-unique-number,
  "name": new-nickname},
 {...}]

from pogo-cruncher.

Wegi avatar Wegi commented on September 1, 2024

Added a route for renaming in 47a11a7 -> api/pokemon/rename

~~It expects the pokemon id as id and the desired nickname inside the nickname variable in the json request.~~~

Also it Would be nice to have a scheme which shows IV% and Attack Types. (First Two Chars would suffice, i think)

Example:

Pokemon: Abra, Attacks Tackle (normal) and zen headbutt (psychic), 82% IV

Renames to:

No/Ps/ 82 (without whitespace to make 100% possible due to 12 char limitation.)

from pogo-cruncher.

Related Issues (20)

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.