Git Product home page Git Product logo

pyttanko's Introduction

computers are garbage

fuck computers all my boys hate computers

pyttanko's People

Contributors

christopher-dg avatar francesco149 avatar jamuwu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pyttanko's Issues

Remade version

Hey there, i may or may not remade your code in a more object oriented way.
Would be cool if you can include to the description as a alternative.. (if you like)

Also, another question, im not so active in osu anymore,
i heard there will be another pp rework?
if thats true, are you going to implement it as well into the code, so i may can add it to the python lib.

How to get the pp of the map with mods?

I've been trying to figure this out, but I can't seem to get it to work.
This returns the pp for score except with nomod but I'd assume it would be with the mods since I declare mods as the number provided by the osu api

    stars = pyttanko.diff_calc().calc(bmap)
    pp, _, _, _, _ = pyttanko.ppv2(stars.aim, stars.speed, bmap=bmap, mods=int(mods), n300=int(n300), n100=int(n100), n50=int(n50), nmiss=int(nmiss), combo=int(combo))

I thougt maybe doing something like this would work

    speed_mul, _, _, _, _ = pyttanko.mods_apply(mods)
    stars = pyttanko.diff_calc().calc(bmap, speed_mul)
    pp, _, _, _, _ = pyttanko.ppv2(stars.aim, stars.speed, bmap=bmap, mods=int(mods), n300=int(n300), n100=int(n100), n50=int(n50), nmiss=int(nmiss), combo=int(combo))

but that just gives errors
am I missing something not there

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.